Content database for Minetest mods, games, and more
Go to file
2019-03-13 14:37:27 +00:00
app Fix release being null in API when release is unapproved 2019-03-13 14:37:27 +00:00
migrations Fix replace problem in migration 2019-01-29 03:02:46 +00:00
.gitignore Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
config.example.cfg Add email on Flask error 2018-07-06 22:55:55 +01:00
docker-compose.yml Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
Dockerfile Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
LICENSE.txt Update README 2018-03-24 19:12:02 +00:00
README.md Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
requirements.txt Add fulltext search support 2019-01-29 03:00:01 +00:00
rundebug.sh Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
runprod.sh Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
runprodguni.sh Add min and max Minetest version support 2019-01-28 20:48:07 +00:00
setup.py Add fulltext search support 2019-01-29 03:00:01 +00:00

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

# Enter docker
docker exec -it contentdb_app_1 bash