/kwarts

Primary LanguageVue

Setup

Create a .env file on the root of the project with:

DATABASE_URL="file:PATH_TO_DB"
EMAIL_HOST="YOUR_EMAIL_HOST"
EMAIL_PORT="YOUR_EMAIL_PORT"
EMAIL_USER="YOUR_EMAIL_USER"
EMAIL_PASSWORD="YOUR_EMAIL_PASSWORD"
WEBSITE_HOST="YOUR_WEBSITE_HOST"

Then, run:

npm install
sh migrate.sh

Development Server

Start the development server on http://localhost:3000

npm run dev

Production

Build the application for production:

npm run build

Database migrations

On schema.prisma updates, run:

sh migrate.sh