Skip to content

Latest commit

 

History

History
48 lines (30 loc) · 792 Bytes

README.md

File metadata and controls

48 lines (30 loc) · 792 Bytes

Yagami Web

This repo contains all of the code for the web interface of the yagami app

Developing

  1. Install dependencies
pnpm install
  1. 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=""
  1. 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.

Building

To create a production version of your app:

pnpm run build

You can preview the production build with npm run preview.