Skip to content

wurstmineberg/wurstmineberg.de

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installing

  1. 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.
  2. 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.
  3. 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's wurstminebot-python crate must be compiled and put into the website's module search path.
  4. 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 a setup.py which may or may not work, sorry.

General management

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.

Credits

Releases

No releases published

Packages

No packages published