Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SSHOC
sshoc-marketplace-frontend
Commits
cfd2628d
Commit
cfd2628d
authored
May 04, 2021
by
Stefan Probst
Browse files
docs: update readme
parent
31fa5576
Pipeline
#193289
passed with stages
in 13 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
cfd2628d
...
...
@@ -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`
).
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment