|
## Server instruction list
|
|
## Server instruction list
|
|
1. git clone --recursive https://github.com/SamuelHassine/zotero-prime.git
|
|
Download of the sourcefiles for the zotero server via git to /mnt/zotero/.
|
|
2. cd zotero-prime
|
|
`git clone --recursive https://github.com/SamuelHassine/zotero-prime.git`
|
|
3. find /mnt/zotero/zotero-prime -type f -exec sed -i 's/8080/8084/g' {} +
|
|
As there already is a service running on port 8080, we need to replace every occurence of 8080 in the source files by 8084.
|
|
4. cd docker
|
|
`cd zotero-prime && find /mnt/zotero/zotero-prime -type f -exec sed -i 's/8080/8084/g' {} +`
|
|
5. docker-compose up -d
|
|
Creating the different containers needed for the server.
|
|
6. ./bin/init.sh
|
|
`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
|
|
## Client instruction list
|
|
1. find /mnt/zotero/zotero-client -type f -exec sed -i 's/localhost:8081/zam10128.zam.kfa-juelich.de:8081/g' {} +
|
|
1. find /mnt/zotero/zotero-client -type f -exec sed -i 's/localhost:8081/zam10128.zam.kfa-juelich.de:8081/g' {} +
|
... | | ... | |