-
Notifications
You must be signed in to change notification settings - Fork 17
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.
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.
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.