Update readme steps to test deployment locally

This commit is contained in:
Nabarun 2025-08-21 15:23:15 +05:30
parent c34b443b69
commit c5fbf0cd8e
3 changed files with 5 additions and 9 deletions

View File

@ -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> - 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 - Build the container for app
```bash ```bash
laconic-so build-webapp --source-repo <path-to-app-repo>/laconic-deployer-frontend --base-container cerc/nextjs-base 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) - Create an env file as described in [previous steps](#3-configure-environment-variables)
- Run the webapp container locally - Run the webapp container locally
```bash ```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 - Scripts used for deployment