Skip to content

RosenTomov/darkti.de

 
 

Repository files navigation

ko-fi

An unofficial community-driven site for Fatsharks Warhammer 40,000: Darktide.

Development

Prerequisites

  1. Install node, npm, planetscale cli
  2. Create a planetscale account, create a database called darktide and a branch called development
  3. Copy .env.example to .env and fill in the env vars
  4. Run npm install to install dependencies
  5. Run pscale auth login to log into planetscale
  6. 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.

localtunnel Install: npm install -g localtunnel

Expose port 3000 lt --port 3000

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.2%
  • Shell 35.9%
  • Lua 5.6%
  • JavaScript 0.6%
  • CSS 0.4%
  • AMPL 0.2%
  • Batchfile 0.1%