This repository contains the website wurstmineberg.de.
wurstmineberg.de is meant to be updated via pulls from here, with as little changes to the deployed website directly as possible.
- We use the gitdir directory structure. That means the website should be deployed to
/opt/git/github.com/wurstmineberg/wurstmineberg.de/master
and the assets to/opt/git/github.com/wurstmineberg/assets.wurstmineberg.de/master
. - The website is designed to run on uWSGI behind NGINX. Create symlinks to the
.nginx
files in/etc/nginx/sites-available
and to the.ini
files in/etc/uwsgi/apps-available
, then create symlinks to those in the respective-enabled
directories. - The website also needs a PostgreSQL database named
wurstmineberg
, as well as a running wurstminebot to keep user data from Discord up to date. wurstminebot'swurstminebot-python
crate must be compiled and put into the website's module search path. - For the remaining Python dependencies, each import is annotated with where you can find the package so
ImportError
s can be fixed directly. We also have asetup.py
which 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