upd readme

This commit is contained in:
nobohan 2021-06-02 14:33:06 +02:00
parent 8526d35f2a
commit 2888d105d9
1 changed files with 17 additions and 31 deletions

View File

@ -16,14 +16,6 @@ Get the code (using git-submodule) for : citizen & taxhub.
``` ```
$ git submodule update --init --recursive $ git submodule update --init --recursive
``` ```
You have also to pull the last development from the fork of GeoNature in vendor
```
$ cd vendor/GeoNature-citizen
vendor/GeoNature-citizen$ git checkout champs-libres && git pull
```
### DB init ### DB init
Creation of the table `referentielsdb` that will be used for storing data. Creation of the table `referentielsdb` that will be used for storing data.
@ -35,6 +27,22 @@ $ docker-compose exec db psql -U postgres -d referentielsdb -c "CREATE SCHEMA ta
$ docker-compose exec db psql -d -U postgres -d referentielsdb -c "CREATE EXTENSION postgis" $ docker-compose exec db psql -d -U postgres -d referentielsdb -c "CREATE EXTENSION postgis"
``` ```
### Build the other containers
```
$ docker-compose up
```
For starting the application again, you may start the db container first
```
$ docker-compose up -d db
$ docker-compose up
```
### Taxhub ### Taxhub
``` ```
@ -80,7 +88,7 @@ docker-compose up -d citizen-front
### Apache ### Apache
Redigie de 8080 vers autres services : Redirige de 8080 vers autres services :
- 4000 (citizen-front) - 4000 (citizen-front)
- 5002 (citizen-back) - 5002 (citizen-back)
- 5000 (taxon) - 5000 (taxon)
@ -92,28 +100,6 @@ Redigie de 8080 vers autres services :
# Single-container instructions (deprecated) # Single-container instructions (deprecated)
## Installation ## Installation