Skip to content

selectlist-archive/infra

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fates List

Licensed under the MIT. We support self hosting and you may ask for help in doing so on our discord server!

This is the backend source code for Fates List.

BTW please add your bots there if you want to support us :)

Deploying/Setup instructions

Install dragon: cd modules/infra/dragon && make # sudo make install (to install it to /usr/local/bin

Run dragon --cmd site.venv to setup a venv for Fates List

Then run dragon --cmd db.setup after activating the created venv to setup the databases

To create the slash commands: dragon --register-only

Automatic Run data/start_tmux.sh to automate site startup and setup tmux session for you!

Manual To start the dragon (must be started before the backend API): dragon --cmd dragon.server

To start the main backend API (must be started after dragon): dragon --cmd site.run

To start the misc. manager bot (Squirrelflight) (must be started after dragon): dragon --cmd site.manager

The frontend for Fates List is Sunbeam

Make sure /home/meow exists and you are logged in as a user named meow before attempting to run Fates List. ~/fates.sock is the main site socket and ~/fatesws.sock is websocket socket

This site is Linux only as of right now

PYTHON 3.11: Compile yarl, frozendict and aiohttp from github manually. Compile asyncpg/uvloop from github manually after patching setup.py to remove the cython version check