|
|
## Server instruction list
|
|
|
1. git clone --recursive https://github.com/SamuelHassine/zotero-prime.git
|
|
|
2. cd zotero-prime
|
|
|
3. find /mnt/zotero/zotero-prime -type f -exec sed -i 's/8080/8084/g' {} +
|
|
|
4. cd docker
|
|
|
5. docker-compose up -d
|
|
|
6. ./bin/init.sh
|
|
|
Download of the sourcefiles for the zotero server via git to /mnt/zotero/.
|
|
|
`git clone --recursive https://github.com/SamuelHassine/zotero-prime.git`
|
|
|
As there already is a service running on port 8080, we need to replace every occurence of 8080 in the source files by 8084.
|
|
|
`cd zotero-prime && find /mnt/zotero/zotero-prime -type f -exec sed -i 's/8080/8084/g' {} +`
|
|
|
Creating the different containers needed for the server.
|
|
|
`cd docker && docker-compose up -d`
|
|
|
Initialize the databases.
|
|
|
`./bin/init.sh`
|
|
|
To prevent errors later on we need to increase the virtual memory areas count as discussed in [this issue](https://github.com/docker-library/elasticsearch/issues/111).
|
|
|
`sysctl -w vm.max_map_count=262144`
|
|
|
I did also set the variable permanently in the /etc/sysctl.conf config file.
|
|
|
|
|
|
|
|
|
## Client instruction list
|
|
|
1. find /mnt/zotero/zotero-client -type f -exec sed -i 's/localhost:8081/zam10128.zam.kfa-juelich.de:8081/g' {} +
|
... | ... | |