Before you begin, ensure you have the following installed:
-
Set up environment variables
Copy the example environment file and if necessary, modify it according to your local environment settings.
cp .env.example .env
-
Install dependencies
Use pnpm to install all necessary dependencies.
pnpm install
-
Setup database
Start the database using Docker.
docker run \ --name mysql \ -p 3306:3306 \ --env MYSQL_ROOT_PASSWORD=password \ --env MYSQL_DATABASE=nugu \ --detach mysql:8.4 \ --character-set-server=utf8mb4 \ --collation-server=utf8mb4_unicode_ci \
Run database migrations to set up the required database schema.
pnpm db:migrate
-
Run the application
To start the application in development mode, use the following command:
pnpm dev
This project is licensed under the MIT License - see the LICENSE file for details.