Update Installation guide

This commit is contained in:
Rainer Gümpelein 2022-01-27 18:35:08 +00:00
parent 1c1e64603d
commit 6cdbdd5bc9

View file

@ -66,7 +66,7 @@ cd /exports/gitlab/copri4/shareeconf
gunzip -c examples/sharee_operator.sql.gz | psql -U [your-psql-user] sharee_operator gunzip -c examples/sharee_operator.sql.gz | psql -U [your-psql-user] sharee_operator
``` ```
The installation has some configuration defaults and examples. You have to edit to fit your web-reachable DNS registered host.example.tld. The installation has some configuration defaults and examples. You have to edit to fit your web-reachable DNS registered shareehost.example.tld.
Operator-Instance hostnames are indicated by "shareedms-operator.example.tld" and "shareeapp-operator.example.tld". Operator-Instance hostnames are indicated by "shareedms-operator.example.tld" and "shareeapp-operator.example.tld".
Web-Project hostname is indicated by "shareeweb-operator.example.tld". Web-Project hostname is indicated by "shareeweb-operator.example.tld".
``` ```
@ -76,10 +76,10 @@ edit shareedms-operator/apache/shareedms-operator.conf
eidt shareeweb-project/apache/shareeweb-operator.conf eidt shareeweb-project/apache/shareeweb-operator.conf
``` ```
The configuration is divided into <block> of values. The global.cfg configuration is divided into sharp-cliped values.
The <operator> block describes your operator-instance by operator-dbname <sharee_operator> The `<operator>` block describes your operator-instance by operator-dbname `<sharee_operator>`.
The <project> block describes your optional web-project by <shareeweb-project> The `<project>` block describes your optional web-project by `<shareeweb-project>`.
The <merchant_ids> block will indicate your block configuration on client request. The `<merchant_ids>` block will indicate your block configuration on client request.
``` ```
cd /exports/gitlab/copri4/shareeconf cd /exports/gitlab/copri4/shareeconf
cp examples/apikeys.cfg . cp examples/apikeys.cfg .
@ -96,10 +96,18 @@ ln -s /var/www/copri4/shareeweb-project/apache/shareeweb-operator.conf
service apache2 restart service apache2 restart
``` ```
You should reach three webservers: You should reach three webservers
https://shareedms-operator.example.tld for the bike sharing management 1. For the bike sharing management
https://shareeapp-operator.example.tld to get access by the shareetool web-App and also by the sharee.bike bike booking App or your self-developed App. See also the API documentation ```
https://shareeweb-project.example.tld is the optional webhost for iframe website integration. It implements station-map, user registration and contact menue. https://shareedms-operator.example.tld
```
2. To get access by the shareetool web-App and also by the sharee.bike bike booking App or your self-developed App. See also the API documentation
```
https://shareeapp-operator.example.tld
```
3. Is the optional webhost for iframe website integration. It implements station-map, user registration formular and contact menue.
```
https://shareeweb-project.example.tld
```
Best regards, Rainer Gümpelein (TeilRad GmbH) Best regards, Rainer Gümpelein (TeilRad GmbH)
https://sharee.bike https://sharee.bike