Follow along with this Free Step by Step Tutorial Video:
Learn More on Django, Plotly & Dash on my Full Course:
-
Create an virtual env
- Check if you have a virtual env
virtualenv --version
- (Not Installed) Dont see a version number? run
sudo pip install virtualenv
- (Installed) Make a folder within the highest file of the project
mkdir ~/env
- run
virtualenv ~/env/my_new_app
- cd into the bin folder
cd ~/env/my_new_app/bin
- activate the env
source activate
- Check if you have a virtual env
-
pip install -r requirements.txt
-
Create a Postgres Database & connect it within the plotly_django_tutorial.py settings
-
python manage.py makemigrations
-
python manage.py migrate
-
python manage.py runserver