Run the App
This guide will walk you through setting up and running the TWC project locally.
Getting Started
Before running the app, make sure your environment is properly set up.
Prerequisites
You’ll need the following installed on your machine:
- Node.js (v20.x)
- pnpm (v9.x)
- Docker and Docker Compose
Installation
-
Fork the repository
-
Clone the repository:
-
Set up the environment variables:
- Run command in root dir.
pnpm run env:set
- Run command in root dir.
-
Set up app for development:
- Docker has to be running.
- This command sets development environment. Run it initially and whenever you change the environment:
pnpm run dev:set - Run the app:
pnpm run dev
-
Set up app for staging:
- This command sets staging app environment. Run it initially and whenever you change the environment:
pnpm run staging-local:set - Run the app:
pnpm run staging-local
- This command sets staging app environment. Run it initially and whenever you change the environment: