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

@ -13,7 +13,7 @@ EOF
pnpm install || exit 1
# TODO: Fix build script to run
# TODO: Fix build script to run
# pnpm build --filter deploy-fe || exit 1
pnpm build --filter @workspace/gql-client || exit 1

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>
<!-- 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

View File

@ -16,7 +16,7 @@ EOF
# For debugging
# cat .env.local
# TODO: Need production build in .next. Check build-webapp.sh
# TODO: Need production build in .next. Check build-webapp.sh
# pnpm start -p ${CERC_LISTEN_PORT:-80}
pnpm dev -p ${CERC_LISTEN_PORT:-80}