This project demonstrates static to dynamic conversion of templates and deal with static files
Go to repo folder
cd bmc_dharan
Firstly create new Python virtual environment using
python -m venv myenv
For windows
myenv\Scripts\activate
For Linux
myenv/bin/activate
After the successful activation you can see (myenv) infornt of every terminal cmd change directory to project directory(directory where manage.py file resides)
We need to install django and other dependencies
here we have requirements.txt file with is list of all required dependencies
Run
pip install -r requirements.txt
change directory to project directory to run migrations and server
python manage.py makemigrations
python manage.py migrate
and then finally
python manage.py runserver