Skip to content

Commit

Permalink
Add an example DB
Browse files Browse the repository at this point in the history
  • Loading branch information
astynax committed Jul 19, 2022
1 parent 0cecf9d commit 2ada9f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.venv/
.mypy_cache/
__pycache__/
db.sqlite3
/db.sqlite3
media/
*.egg-info/
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ This project is a software that I'am developing during [this series of YouTube s
1. `poetry run python manage.py migrate`.
1. `poetry run python manage.py createsuperuser --name=admin` and set password to `admin` (TODO: make the password optional).
1. `poetry run python manage.py runserver`.

### DB Example

You can copy `example/db.sqlite3` file to the project's root and possibly run some migrations (`manage.py mugrate`). Then you'll be able to play example game. It is pretty incomplete but it shows most of engine features.
Binary file added example/db.sqlite3
Binary file not shown.

0 comments on commit 2ada9f2

Please sign in to comment.