This repo contains all of the code for the web interface of the yagami app
- Install dependencies
pnpm install
- Add env variables
DATABASE_URL=""
PUBLIC_OSU_CLIENT_ID=""
OSU_CLIENT_SECRET=""
PUBLIC_DISCORD_CLIENT_ID=""
DISCORD_CLIENT_SECRET=""
PUBLIC_TWITCH_CLIENT_ID=""
TWITCH_CLIENT_SECRET=""
- Run dev server
pnpm run dev
# or start the server and open the app in a new browser tab
pnpm run dev -- --open
If you install the Vite extension for VSCode, the devserver step will be handled for you.
To create a production version of your app:
pnpm run build
You can preview the production build with npm run preview
.