-
Notifications
You must be signed in to change notification settings - Fork 120
Manage Sketchy
Sketchy uses manage.py
to perform management tasks. The manage.py file is located in the root of the sketch application.
The following commands and functions are available for you to use.
runserver will start the Flask application with the default Flask web server.
python manage.py runserver
start will start the Flask application with Gunicorn.
python manage.py start
create_db will create a database with the capture table.
python manage.py create_db
drop_db will drop the database.
python manage.py drop_db
clear will remove all local file captures.
python manage.py clear
make_shell_context creates a python REPL with several default imports in the context of the app.
python manage.py make_shell_context
show_urls will display the rules and endpoints for urls.
python manage.py show_urls
list_routes will display the routes for the command.
python manage.py list_routes