mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 20:38:17 +03:00
* [chunithm] split lamp into combo lamp and clear lamp * ignore nonsense lint * fix myt converter tests * fix chunitachi batch manual * mfw edited wrong file * fix(migration): only migrate lamp-related showcases * remove chart lamp showcases * remove unused imports * fix: limit re-pb to chunithm scores, migrate chart lamp showcases to comboLamp * fix migration of comboLamp progress * fix: updateMany with multi: true * fix: when updating references, ensure only known IDs are in * fix(client): make red stand out more * fix(client): lamp sorting * feat(server): validate clear and combo lamps based on judgements * fix(server): validate combo lamps based on score boundary * fix: reword validation errors to stay consistent * fix: correct explanation * fix: how was I this stupid? * fix: update blacklisted scores too * fix: bulk write all the updates * fix: bulkWrite harder * fix: i probably need sleep * all of game-settings to bulkWrite * fix folder lamp goal nonsense * maybe fix colors * fix: name PB merges * chore: properly test PB merge * mfw reversed * fix(SessionRaiseBreakdown): lamp name * rename to noteLamp * why is eslint even complaining here? * rename the enums * fix tests * tweak colors of lamps
Tachi Client
Tachi-Client is the frontend for Tachi.
Setup
Run pnpm install to install dependencies.
Dev Server
pnpm start launches a development server for rapid iteration. Use this if you're developing.
Building
pnpm build compiles the source code into build/. This directory can then be shipped around and
served by tools like nginx. This should be used for production use cases only, as
compiling the client takes around 20-30 seconds, whereas the dev server is near instant.
Config
For local development, use the bootstrap.sh script in ../_scripts to set everything up.
Other configuration variables are as follows:
# Stop react from launching a browser when you run pnpm start.
BROWSER="none"
# KAI API Client IDs.
VITE_EAG_CLIENT_ID=""
VITE_MIN_CLIENT_ID=""
VITE_FLO_CLIENT_ID=""
# How long users should have to read the rules for, in seconds.
# Defaults to 30, but useful to lower for localdev.
VITE_RULES_READ_TIME=30
# Whether to require login to view the site.
VITE_MANDATE_LOGIN=true
# What git repo to read from by default in the seeds viewer.
VITE_GIT_REPO=""
# What client mode to use. Should be boku, kamai or omni.
# This affects some things, like what buttons should appear in certain places and what colours the site should be.
VITE_TCHIC_MODE="omni"