]> git.lizzy.rs Git - cheatdb.git/blob - README.md
Create utils folder
[cheatdb.git] / README.md
1 # Content Database
2
3 Content database for Minetest mods, games, and more.
4
5 Developed by rubenwardy, license GPLv3.0+.
6
7 ## How-tos
8
9 Note: you should first read one of the guides on the [Github repo wiki](https://github.com/minetest/contentdb/wiki)
10
11 ```sh
12 # Run celery worker
13 FLASK_CONFIG=../config.cfg celery -A app.tasks.celery worker
14
15 # if sqlite
16 python utils/setup.py -t
17 rm db.sqlite && python setup.py -t && FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db stamp head
18
19 # Create migration
20 FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db migrate
21
22 # Run migration
23 FLASK_CONFIG=../config.cfg FLASK_APP=app/__init__.py flask db upgrade
24
25 # Enter docker
26 docker exec -it contentdb_app_1 bash
27 ```