Skip to content

toffee-makes-things/room-server

 
 

Repository files navigation

room-server

Push Docker image

What is this?

A fork of room-server. made for the kicks and whatnot.

Setup

  1. Make a Debian vm.

  2. Install sudo

apt install sudo
  1. Run this script to install the server and setup the database.
python3 install.py
  1. Run this script to start the server
python3 startup.py

Manual Setup

  1. You'll most likely want to create a virtualenv to install things. For example:
python3 -m venv virtualenv

Ensure you activate the environment.

  1. Regardless of the above, ensure you have installed requirements:
pip3 install -r requirements.txt
# Useful for reading .flaskenv.
pip3 install python-dotenv
  1. You'll then need to install PostgreSQL. Copy config-example.py to config.py and update this config.

  2. Read conf/README.md for instructions of static files you should provide.

  3. Finally, start the server:

flask run --host 0.0.0.0
  1. You will now be able to visit The Underground (http://root_domain/theunderground). The default username is admin, and password admin. It's highly advised to change it as soon as possible.

About

A backend for Wii no Ma.

Resources

License

Stars

Watchers

Forks

Languages

  • SCSS 25.7%
  • Less 23.4%
  • Python 17.5%
  • CSS 14.5%
  • JavaScript 13.2%
  • HTML 5.5%
  • Other 0.2%