diff --git a/README.md b/README.md index dab31b9..6717dbe 100644 --- a/README.md +++ b/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