App Router + Chakra UI Next.js + Redux + Wagmi ( Viem ) + Dynamic + PWA + PipeLine
Install Bun:
# Supported on macOS, Linux, and WSL
curl -fsSL https://bun.sh/install | bash
# Upgrade Bun every once in a while
bun upgrage
Recommended Editor: VsCode. For the best experience, install the Eslint and Prettier extensions.
Start by setting up your environment:
cp .env.example .env
Edit the /.env
file with the necessary settings.
# Install dependencies
bun i
# Run the development server
bun dev
# Run the production server
bun run build && bun start
For automated processes like CI/CD using AWS CodePipeline:
- Edit line 41 in
/.github/.workflows/aws-ecr.yml
to match your AWS ECR_REPOSITORY Name.
For automated processes like CI/CD using GitHub Actions:
- Navigate to your GitHub repository and access the
Settings
tab. - Locate the
Secrets
option in the left sidebar. - Use the
New repository secret
button to add new secrets. - Specifically, add secrets for
DYNAMIC_ID_DEV
andDYNAMIC_ID_PROD
.