diff --git a/README.md b/README.md index cba8ec7..d9968b9 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,6 @@ ``` 4. Initialize db schema using: ```sh - $ docker-compose exec forest python manage.py create_db + $ docker-compose exec forest python manage.py format_db $ docker-compose exec forest python manage.py seed_db ``` diff --git a/src/forest/manage.py b/src/forest/manage.py index 9a74fb6..d385ea4 100644 --- a/src/forest/manage.py +++ b/src/forest/manage.py @@ -13,8 +13,8 @@ cli = FlaskGroup(app) migrate = Migrate() migrate.init_app(app, db) -@cli.command("create_db") -def create_db(): +@cli.command("format_db") +def format_db(): db.drop_all() db.create_all() db.session.commit() diff --git a/src/forest/templates/nav.html b/src/forest/templates/nav.html index 76141f1..be901cd 100644 --- a/src/forest/templates/nav.html +++ b/src/forest/templates/nav.html @@ -19,16 +19,8 @@