Darkflame Universe Account Manager
This is a quick and simple web application intended for account creation and management for a DLU instance created by Wincent.
Logo by BlasterBuilder.
Run and Install
- Clone this repository
# credentials.py # Make sure this is a long random string SECRET_KEY = 'long-random-string' # Replace instances of <> with the database credentials DB_URL = 'mysql+pymysql://<mysql-user>:<mysql-password>@<mysql-host>/<mysql-database>'
- Run the application
# Run the python application, with a given port number flask run --port 5000 # or simply python app.py
There are several available endpoints that are useful to users.
/login: Login as an Admin and create CD keys.
/activate: Create a new account as a non-admin user. You will require a CD key (which is provided by the admin).