Browse Source

readme, changed client port

Bachir Soussi Chiadmi 8 months ago
parent
commit
5b8723a8b5
2 changed files with 11 additions and 7 deletions
  1. 10 6
      README.md
  2. 1 1
      docker-compose.yml

+ 10 - 6
README.md

@@ -1,6 +1,6 @@
 # docker-gdp
 
-## Install docker
+## Install docker (only once)
 ```
 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
 
+### start docker engine
+```
+sudo systemctl start docker
+```
+
 ### build
 only before the first run (may take some time)
 ```
@@ -38,13 +43,12 @@ sudo docker-compose up -d
 
 
 ## Client
+open http://localhost:8988 in your browser
+
+to follow the webpack compilation process, run
 ```
-cd client
-npm install
-npm run dev
+sudo docker-compose logs -f
 ```
-open http://localhost:8080 in your browser
-
 
 ## Doc
 

+ 1 - 1
docker-compose.yml

@@ -19,7 +19,7 @@ services:
       - "${CLIENT_ROOT}:/app"
       # - client-home:/home/gdp
     ports:
-      - 8988:8080
+      - 8988:8988
     working_dir: "/app"
     depends_on:
       - basex