Dear Gitlab users, due to maintenance reasons, Gitlab will not be available on Thursday 30.09.2021 from 5:00 pm to approximately 5:30 pm.

Commit cfd2628d authored by Stefan Probst's avatar Stefan Probst
Browse files

docs: update readme

parent 31fa5576
Pipeline #193289 passed with stages
in 13 minutes and 28 seconds
......@@ -17,8 +17,8 @@ CMS backend with `yarn dev:cms` and access the CMS at
## Production
Produce a static build with `yarn build && yarn export` and serve the `out`
folder.
Produce a production build with `yarn build` and run the server with
`yarn start`.
### Environment variables
......@@ -67,3 +67,9 @@ You can build a container with `docker-compose build`, and run locally with
`docker-compose up`, then visit [http://localhost:3000](http://localhost:3000).
Build configuration should be provided via `.env` file (see
`.env.local.example`).
In order to run both backend and frontend locally with docker, the frontend
container must be able to reach the backend container network at runtime. You
can run `docker-compose -f docker-compose.local.yml up --build` (assuming the
backend container network is up with its default name
`sshoc-marketplace-backend_default`).
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment