Skip to content

manage.py

Harvey Wang edited this page May 22, 2020 · 1 revision

The following commands can be run in Command Prompt (Windows) or a Bash environment (Linux/macOS). Remember to activate your Python environment.

Web Page

To see the web page and start developing, run

python3 manage.py runserver 0.0.0.0:8000

then visit http://localhost:8000/ with a web browser.

Background Tasks

When running the code in production, run

python3 manage.py process_tasks

in a separate terminal to allow background tasks (such as parsing data files). This will process the tasks as they are defined.