readme, changed client port

This commit is contained in:
2019-07-19 15:52:49 +02:00
parent ab9c7823e8
commit 5b8723a8b5
2 changed files with 12 additions and 8 deletions
+11 -7
View File
@@ -1,6 +1,6 @@
# docker-gdp # docker-gdp
## Install docker ## Install docker (only once)
``` ```
sudo pacman -S docker docker-compose docker-machine sudo pacman -S docker docker-compose docker-machine
``` ```
@@ -15,6 +15,11 @@ git clone --recursive -o figli https://figureslibres.io/gogs/bachir/docker-gdp.g
## Docker ## Docker
### start docker engine
```
sudo systemctl start docker
```
### build ### build
only before the first run (may take some time) only before the first run (may take some time)
``` ```
@@ -38,13 +43,12 @@ sudo docker-compose up -d
## Client ## Client
``` open http://localhost:8988 in your browser
cd client
npm install
npm run dev
```
open http://localhost:8080 in your browser
to follow the webpack compilation process, run
```
sudo docker-compose logs -f
```
## Doc ## Doc
+1 -1
View File
@@ -19,7 +19,7 @@ services:
- "${CLIENT_ROOT}:/app" - "${CLIENT_ROOT}:/app"
# - client-home:/home/gdp # - client-home:/home/gdp
ports: ports:
- 8988:8080 - 8988:8988
working_dir: "/app" working_dir: "/app"
depends_on: depends_on:
- basex - basex