Bachir Soussi Chiadmi 3 years ago
parent
commit
0ace942135
1 changed files with 7 additions and 1 deletions
  1. 7 1
      README.md

+ 7 - 1
README.md

@@ -46,7 +46,9 @@ open http://localhost:8988 in your browser
 
 ## Vhost or Cross Origins Policy
 Cross origin poilicy will block the api requests from client
+
 You'll need to install vhost domain for api and client, like dev.gdp.net and dev.api.gdp.net
+
 Or in firefox install this addon to allow cors addons.mozilla.org/en-US/firefox/addon/cors-everywhere/
 
 ## Logs
@@ -78,9 +80,13 @@ docker-compose up -d [client | basex]
 
 ## Prod
 run containers for prod
-```docker-compose -f docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d```
+```
+docker-compose -f docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
+```
 client will be built the client container stop
+
 basex container will stay up
+
 you have to serve client/dist/index.html with your own webserver (e.g. nginx, apache, etc)
 
 ## Doc