1
0
mirror of https://github.com/ZotPrime/zotprime.git synced 2021-11-01 23:17:40 +03:00
2021-04-23 23:42:05 +02:00
Fix
2018-10-25 17:06:12 +02:00
2018-10-26 12:41:20 +02:00
2018-10-26 12:45:21 +02:00
2018-10-26 12:30:51 +02:00
2015-03-17 17:58:52 -04:00
2018-10-26 12:30:51 +02:00
2018-10-26 11:48:56 +02:00
2018-10-26 11:48:56 +02:00
2018-10-25 14:19:07 +02:00
2018-10-25 14:19:07 +02:00
Fix
2018-10-25 17:06:12 +02:00
2010-06-16 16:54:25 +00:00

ZotPrime - On-premise Zotero platform

ZotPrime is a full packaged repository aimed to make on-premise Zotero deployment easier with the last versions of both Zotero client and server. This is the result of sleepness nights spent to deploy Zotero within my organization on a disconnected network. Feel free to open issues or pull requests if you did not manage to use it.

Server installation

Dependencies and source code

Install dependencies for client build:

$ sudo apt install npm

Clone the repository (with --recursive):

$ mkdir /path/to/your/app && cd /path/to/your/app
$ git clone --recursive https://github.com/SamuelHassine/zotero-prime.git
$ cd zotero-prime

Configure and run:

$ cd docker
$ sudo docker-compose up -d

Initialize databases

Initialize databases:

$ ./bin/init.sh
$ cd ..

Available endpoints:

Name URL
Zotero API http://localhost:8080
S3 Web UI http://localhost:8082
PHPMyAdmin http://localhost:8083

Default login/password:

Name Login Password
Zotero API admin admin
S3 Web UI zotero zoterodocker
PHPMyAdmin root zotero

Client installation

Dependencies and source code

For [m|l|w]: m=Mac, w=Windows, l=Linux

Run:

$ cd client
$ ./config.sh
$ cd zotero-client
$ npm install
$ npm run build
$ cd ../zotero-standalone-build
$ ./fetch_xulrunner.sh -p [m|l|w]
$ ./fetch_pdftools
$ ./scripts/dir_build -p [m|l|w]

First usage

Run:

$ ./staging/Zotero_VERSION/zotero(.exe)

Connect with the default user and password:

Name Login Password
Zotero admin admin

Sync

Languages
PHP 99.8%
PLpgSQL 0.1%