An unofficial community-driven site for Fatsharks Warhammer 40,000: Darktide.
- Install node, npm, planetscale cli
- Create a planetscale account, create a database called
darktide
and a branch calleddevelopment
- Copy
.env.example
to.env
and fill in the env vars - Run
npm install
to install dependencies - Run
pscale auth login
to log into planetscale - Run
npm run update-db
to sync the schema to your db and generate TypeScript TypeScript
Run npm run dev
to run the server locally. It will be on port 3000 by default.
Darktide cannot request URLs with ports so in order to auth your local server you'll need to expose it to the internet using a tool like localtunnel, ngrok, or tunnelmole. If you set the DTAUTHDATA_PATH
path in the .env
file the server will automatically set up a localtunnel tunnel and replace the line in the DTAuth mod to point it to that domain.