A fork of room-server. made for the kicks and whatnot.
-
Make a Debian vm.
-
Install sudo
apt install sudo
- Run this script to install the server and setup the database.
python3 install.py
- Run this script to start the server
python3 startup.py
- You'll most likely want to create a virtualenv to install things. For example:
python3 -m venv virtualenv
Ensure you activate the environment.
- Regardless of the above, ensure you have installed requirements:
pip3 install -r requirements.txt
# Useful for reading .flaskenv.
pip3 install python-dotenv
-
You'll then need to install PostgreSQL. Copy
config-example.py
toconfig.py
and update this config. -
Read
conf/README.md
for instructions of static files you should provide. -
Finally, start the server:
flask run --host 0.0.0.0
- You will now be able to visit The Underground (http://root_domain/theunderground). The default username is
admin
, and passwordadmin
. It's highly advised to change it as soon as possible.