Update README.md

This commit is contained in:
gfacciol
2016-08-24 09:52:58 +02:00
committed by GitHub
parent 8ec4a0d725
commit b9dc9b2b1c

View File

@@ -10,12 +10,12 @@ This image was build following the instructions for installing a Zotero dataserv
The resulting image is configured to run a dataserver on https://localhost/.
To customize the installation the following files must be edited:
* SSL certificate: apache/zotero.{cert,key}. The current certificate is self-signed for localhost.
* Apache site config: apache/sites-zotero.conf.
* Dataserver: dataserver/config.inc.php to match the site config.
* MySQL credentials/passwords: mysql/setup\_db and dataserver/dbconnect.inc.php accordingly.
* SSL certificate: `apache/zotero.{cert,key}`. The current certificate is self-signed for localhost.
* Apache site config: `apache/sites-zotero.conf`.
* Dataserver: `dataserver/config.inc.php` to match the site config.
* MySQL credentials/passwords: `mysql/setup\_db` and `dataserver/dbconnect.inc.php` accordingly.
The build procedure also creates a couple of test users: test:test and test2:test2.
The build procedure also creates a couple of test users using the user administration tools: test:test and test2:test2.
## Start the dataserver
@@ -31,18 +31,18 @@ This will start the dataserver on [https://localhost/](https://localhost/sync/lo
## Patch the standalone client to use the new dataserver
Following the procedure of (http://git.27o.de/dataserver/about/Zotero-Client.md).
Download the Zotero client, and change these two lines in resource/config.js inside the zotero.jar archive (zip)
Download the Zotero client, and change these two lines in `resource/config.js` inside the zotero.jar archive (zip)
SYNC_URL: 'https://localhost/sync/',
API_URL: 'https://localhost/',
If the server uses a self-signed certificate an exception should be added to the client. A cert\_override.txt file must be added to the user profile generated by zotero client:
If the server uses a self-signed certificate an exception should be added to the client. A `cert\_override.txt` file must be added to the user profile generated by zotero client:
~/Library/Application\ Support/Zotero/Profiles/<random>.default/ MAC
~/.zotero/Profiles/<random>.default/ Linux
c:Users/<username>/AppData/Roaming/Zotero/Zotero/ Win
The cert\_override.txt file can be generated with Firefox as explained here (https://groups.google.com/d/msg/zotero-dev/MEwLaptJIzI/PVDAFJiqEgAJ)
The `cert\_override.txt` file can be generated with Firefox as explained here (https://groups.google.com/d/msg/zotero-dev/MEwLaptJIzI/PVDAFJiqEgAJ)
## User administration
@@ -53,6 +53,6 @@ The cert\_override.txt file can be generated with Firefox as explained here (htt
./add_group -o testuser -f members -r members -e members testgroup
./add_groupuser testgroup testuser2 member
add\_user is a patched version of the script from (git.27o.de) that allows to set the password from the command line.
add\_user is a patched version of the script from http://git.27o.de that allows to set the password from the command line.