This repository contains the website wurstmineberg.de, as well as the Discord bot wurstminebot.
- We use the gitdir directory structure. That means the website should be deployed to
/opt/git/github.com/wurstmineberg/wurstmineberg.de/mainand the assets to/opt/git/github.com/wurstmineberg/assets.wurstmineberg.de/main. - The website consists of a portion written in Rust, which should be run using the systemd service file provided in
assets/wurstmineberg-web.service, and a portion written in Python, which should be run in uWSGI. Both may be run behind NGINX by creating symlinks to the.nginxfiles in/etc/nginx/sites-availableand to the.inifiles in/etc/uwsgi/apps-available, then creating symlinks to those in the respective-enableddirectories. - The website also needs a PostgreSQL database named
wurstmineberg. - For the remaining Python dependencies, each import is annotated with where you can find the package so
ImportErrors can be fixed directly. We also have asetup.pywhich may or may not work, sorry.
Like most of our repositories, this is also connected to our autodeploy setup, so pushed commits should go live on the website very soon. This is currently broken, so changes must be deployed using gitdir deploy github.com wurstmineberg/wurstmineberg.de && sudo systemctl reload uwsgi.
- CSS/JS is Bootstrap 3