Modern Django Set Up: A Guide on How to Deploy Django-based Web Applications in 2020
- Python 3+
To run the app on your local machine, you need Python 3+, installed on your computer. If you using pipenv than follow 2nd 1 to 5 steps
-
Create and activate virtualenv:
python3 -m venv venv . venv/bin/activate
-
Read requirments file:
pip install -r requirments/local.txt
-
Copy
env.example
to.env
file: In terminalshell cp .env.example .env
then put all key values in .env file
-
Migrate
python manage.py migrate
-
Run server
python manage.py runserver