Update readme steps to test deployment locally
This commit is contained in:
parent
c34b443b69
commit
c5fbf0cd8e
10
readme.md
10
readme.md
@ -98,13 +98,8 @@ Make sure you have:
|
||||
|
||||
- Follow the dev install steps for stack-orchestrator from <https://git.vdb.to/cerc-io/stack-orchestrator/src/branch/main/docs/CONTRIBUTING.md#install>
|
||||
|
||||
<!-- TODO: Remove after SO PR https://git.vdb.to/cerc-io/stack-orchestrator/pulls/969 is merged -->
|
||||
- Change branch
|
||||
```bash
|
||||
git checkout ng-support-custom-nextjs
|
||||
```
|
||||
|
||||
- Build the container for app
|
||||
|
||||
```bash
|
||||
laconic-so build-webapp --source-repo <path-to-app-repo>/laconic-deployer-frontend --base-container cerc/nextjs-base
|
||||
```
|
||||
@ -112,8 +107,9 @@ Make sure you have:
|
||||
- Create an env file as described in [previous steps](#3-configure-environment-variables)
|
||||
|
||||
- Run the webapp container locally
|
||||
|
||||
```bash
|
||||
docker run -p 3000:3000 --env-file <path-to-env-file> cerc/laconic-deployer-frontend:local
|
||||
docker run -p 3000:80 --env-file <path-to-env-file> cerc/laconic-deployer-frontend:local
|
||||
```
|
||||
|
||||
- Scripts used for deployment
|
||||
|
Loading…
Reference in New Issue
Block a user