A fork of the original contentdb, codenamed "Okapi".
Go to file
rubenwardy 5f7efd4f31 Reduce README size 2019-01-09 22:35:11 +00:00
app Fix weird ordering of screenshots 2019-01-08 21:35:46 +00:00
migrations Add support for using forum profile pictures 2018-12-25 19:28:32 +00:00
.gitignore Add Docker support 2019-01-09 21:58:11 +00:00
Dockerfile Add celery support to docker config 2019-01-09 22:29:32 +00:00
LICENSE.txt Update README 2018-03-24 19:12:02 +00:00
README.md Reduce README size 2019-01-09 22:35:11 +00:00
config.example.cfg Add email on Flask error 2018-07-06 22:55:55 +01:00
docker-compose.yml Add celery support to docker config 2019-01-09 22:29:32 +00:00
requirements.txt Update to Flask 1.0 2018-12-22 23:03:38 +00:00
rundebug.sh Use bash script to start server 2018-03-24 02:36:14 +00:00
runprod.sh Use bash script to start server 2018-03-24 02:36:14 +00:00
runprodguni.sh Add Docker support 2019-01-09 21:58:11 +00:00
setup.py Add Docker support 2019-01-09 21:58:11 +00:00

README.md

Content Database

Content database for Minetest mods, games, and more.

Developed by rubenwardy, license GPLv3.0+.

How-tos

Note: you should first read one of the guides on the Github repo wiki

# Run celery worker
FLASK_CONFIG=../config.cfg celery -A app.tasks.celery worker

# if sqlite
python setup.py -t
rm db.sqlite && python setup.py -t && FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db stamp head

# Create migration
FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db migrate

# Run migration
FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db upgrade