- Docker (recommended)
- Node.js and npm (for local setup)
Docker simplifies the setup process and ensures consistency across environments. Follow these steps to set up the application using Docker:
- Copy the sample environment file:
cp .env.sample .env
- Build the Docker image:
docker build -t yaht-app .
To run the application using Docker:
docker run -it --rm --name yaht-app -p 3000:3000 -v $(pwd):/app -v /app/node_modules yaht-app
Access the application at http://localhost:3000.
If you prefer to run the application without Docker, ensure you have Node.js and npm installed. Then, follow these steps:
- Install dependencies:
npm install
- Start the application:
npm start
- Access the application at http://localhost:3000.