You need:
- python3.10
- git
- packages from requirements.txt (
pip install -r requirements.txt) - packages from requirements-dev.txt (
pip install -r requirements-dev.txt)
./check.sh
python -m black an_website tests
python -X dev -m an_website(-X dev is for debugging)
You need:
- python3.10
- packages from requirements.txt
- supervisord
- redis
- redis-cell (for ratelimits)
- uwufetch
- git
How
- clone this repo in the home directory of a user
- (if necessary) add the following at the end of /etc/supervisord.conf
[include]
files = /etc/supervisor.d/*.ini
- (if necessary) create /etc/supervisor.d/
- run restart.sh as the user of the home directory
Why?
should work similar to linux
/etc/supervisord.conf -> /usr/local/etc/supervisord.conf
/etc/supervisor.d/*.ini -> /usr/local/etc/supervisor.d/*.ini
/etc/supervisor.d/ -> /usr/local/etc/supervisor.d/
restart.sh: /etc/supervisor.d/$SERVICE_FILE_NAME -> /usr/local/etc/supervisor.d/$SERVICE_FILE_NAME
Why? (same as FreeBSD, probably)