This project demonstrates static to dynamic conversion of templates and deal with static files
Go to repo folder
cd bmc_dharanFirstly create new Python virtual environment using
python -m venv myenvFor windows
myenv\Scripts\activateFor Linux
myenv/bin/activateAfter 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.txtchange directory to project directory to run migrations and server
python manage.py makemigrationspython manage.py migrateand then finally
python manage.py runserver