This repository contain the front-end for the Tahm-ken.ch website v2. It uses Javascript with Svelte on Node.
First you either need to choose between using the production backend or running your own backend locally.
In vite.config.ts
comment the current proxy and use the one in comment.
That's it!
Please follow the readme at https://github.com/TheRaphael0000/api.tahm-ken.ch/
Run this python script with your League of Legends client open. This will ask the LCU for the latest challenges every profile specific data will be discarded.
You can't run this in the WSL. You must run this in Windows directly so it can communicate with League.
python update_challenges.py
This will download files from datadragon and discord API to initalized cached data
node cache/cache.js
npm i # install dependencies
npm run dev # run dev env
Follow instructions in the console.
Please check that the build pass before pushing
npm run build # build
npm run preview # test the build
Or with Docker
docker compose up --build