Python
mysql
pip install -r requirements.txt
- Check the settings.py present in resource tracker for the credentials for mysql and change them if required.
python manage.py migrate
- Run the below commands:
python manage.py makemigrations employee_register
python manage.py sqlmigrate employee_register 0001
python manage.py migrate
- Load initial data (create groups and assign permission)
./manage.py shell
exec(open('employee_register\initial_script.py').read())
- To run server
python manage.py runserver