updated readme to provide correct information

This commit is contained in:
Pit-Storm 2020-05-30 19:49:17 +02:00
parent b6dfb2e791
commit 125da0b3d1

View file

@ -4,14 +4,20 @@
### Check-out repository
* [Install git](https://git-scm.com/book/en/v2/Getting-Started-Installing-Git)
* `git clone https://github.com/netzbegruenung/candymat.git`
* `git clone https://git.verdigado.com/Netzbegruenung/candymat.git`
* To get the (external) user-app source:
```
git submodule init
git submodule update
git submodule update --init
```
### Start backend
* ```docker-compose up -d```
* Point browser to http://localhost:5000/graphiql for testing queries and documentation of nodes and http://localhost:5000/graphql for graphQL endpoint
* ```docker-compose up -d``` for dev setup. (The database will always be reinitiated, because new data is not stored in a volume.)
* To have a setup with local volume provide ```-f docker-compose.prod.yml``` to the command in addition.
### Where to access the services
* GraphQL IDE/GUI: http://localhost:5433/graphiql
* GraphQL Endpoint: http://localhost:5433/graphql
* UserApp: http://localhost:8080
* RedaktionsApp: http://localhost:8081