[librecat-dev] LibreCat on Docker

Arash Samadi samadi at sub.uni-goettingen.de
Thu Jun 16 09:27:03 CEST 2016


Hi Vitali,

you could use your own code and maybe you just need to restart the
container. If you are making changes on the fly, you may want to use
"volumes" to apply your local changes, i.e. in dock-compose:
    volumes:
        - "/path/to/local/deposit:/srv/LibreCat/views"
        - "/path/to/local/deposit:/srv/LibreCat/public"
This way, if you change your local code, you just need to refresh the
webpages...

Same thing with the standalone image, just add option -v with the
volumes. Currently I am working on another variation with Ubuntu & Solr,
it would appear online in our github-repository as soon as it is done.

Cheers,
A.

On 16.06.2016 07:06, Vitali Peil wrote:
> Hi Arash,
>
> very nice. I've tried this earlier in the project; obviously without
> success...
> I wonder if we can use this docker image as a local development
> environment by mounting my LibreCat directory with my changing code.
> But this would require a restart of the web service within the image....
>
> Cheers,
> Vitali
>
> On 15/06/16 18:12, Arash Samadi wrote:
>> @Patrick, Nicolas: Thanks
>>
>> There are two different working images (standalone & docker-compose) of
>> LibreCat-bundle on CentOS 7 at:
>> https://github.com/subugoe/pub_dev
>>
>> You may find some redundancy by installation of some packages, which I
>> will cleanup as soon as I get the chance to do so.
>>
>> Cheers,
>> A.
>>
>> On 15.06.2016 08:55, Patrick Hochstenbach wrote:
>>
>> You can pass any option that is available to Search::Elasticsearch to
>> Catmandu::Store::Elasticsearch
>>
>> https://metacpan.org/pod/Search::Elasticsearch
>>
>> E.g.
>>
>> $ catmandu import JSON to Elasticsearch —index_name ‘test’ —nodes =>
>> ‘server:port’
>>
>> Or in perl
>>
>> use Catmandu
>>
>> my $store = Catmandu->store(‘Elasticsearch’, index_name => ‘test ,
>> nodes => [‘server1’,’server2’]);
>>
>>> On 14 Jun 2016, at 13:16, Arash
>>> Samadi<samadi at sub.uni-goettingen.de>  wrote:
>>>
>>> Hi,
>>>
>>> how can I set the LibreCat to choose another Node via URL (not
>>> default localhost)? Is there a setting which can be applied via
>>> "catmandu.store.yml"?
>>>
>>> Cheers,
>>> A.
>>> -- 
>>> Arash Samadi
>>> Digitale Biblothek, Bibliotheksysteme (BIS)
>>>
>>> Georg-August-Universität Göttingen
>>> Niedersächsische Staats- und Universitätsbibliothek
>>> D-37073 Göttingen
>>>
>>> Platz der Göttinger Sieben 1 (Zentralbibliothek, LRC, Raum 2.19)
>>>
>>> Tel: +49 39-20726
>>> m at il:samadi at sub.uni-goettingen.de
>>> www:http://www.sub.uni-goettingen.de
>>>
>>> _______________________________________________
>>> librecat-dev mailing list
>>> - send list mails tolibrecat-dev at lists.uni-bielefeld.de
>>> - to unsubscribe or change options,
>>> visithttps://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
>>> - project website:http://librecat.org/
>>
>> Patrick Hochstenbach - digital architect
>> University Library Ghent
>> Sint-Hubertusstraat 8 - 9000 Ghent - Belgium
>> patrick.hochstenbach at ugent.be
>> +32 (0)9 264 7980
>>
>>
>> -- 
>>
>> *Arash Samadi*
>> Digitale Biblothek, Bibliotheksysteme (BIS)
>>
>> Georg-August-Universität Göttingen
>> Niedersächsische Staats- und Universitätsbibliothek
>> D-37073 Göttingen
>>
>> Platz der Göttinger Sieben 1 (Zentralbibliothek, LRC, Raum 2.19)
>>
>> Tel: +49 39-20726
>> m at il: samadi at sub.uni-goettingen.de <mailto:samadi at sub.uni-goettingen.de>
>> www: http://www.sub.uni-goettingen.de
>>
>>
>>
>> _______________________________________________
>> librecat-dev mailing list
>> - send list mails to librecat-dev at lists.uni-bielefeld.de
>> - to unsubscribe or change options, visit
>> https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
>> - project website: http://librecat.org/
>>
> _______________________________________________
> librecat-dev mailing list
> - send list mails to librecat-dev at lists.uni-bielefeld.de
> - to unsubscribe or change options, visit
> https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
> - project website: http://librecat.org/
> .
>

-- 

*Arash Samadi*
Digitale Biblothek, Bibliotheksysteme (BIS)

Georg-August-Universität Göttingen
Niedersächsische Staats- und Universitätsbibliothek
D-37073 Göttingen

Platz der Göttinger Sieben 1 (Zentralbibliothek, LRC, Raum 2.19)

Tel: +49 39-20726
m at il: samadi at sub.uni-goettingen.de <mailto:samadi at sub.uni-goettingen.de>
www: http://www.sub.uni-goettingen.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20160616/439d42f9/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20160616/439d42f9/attachment.asc>


More information about the librecat-dev mailing list