App Router + Daisy 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 .envEdit 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 startFor automated processes like CI/CD using AWS CodePipeline:
- Edit line 41 in
/.github/.workflows/aws-ecr.ymlto match your AWS ECR_REPOSITORY Name. - Add non
NEXT_PUBLIC_environment variables to the env vars of the running EC2 instance.
For automated processes like CI/CD using GitHub Actions:
- Navigate to your GitHub repository and access the
Settingstab. - Locate the
Secretsoption in the left sidebar. - Use the
New repository secretbutton to add new secrets. - Specifically, add secrets for
DYNAMIC_ID_DEV, andDYNAMIC_ID_PROD.