Installation(django-backend):
- install virtualenv in the backend of entire project
- go activate virtualenv while in backend and create the virtualenv environment.
- install django
- install install django-REST
- apply settings to the Settings.py if needed(probably not with this)
- install django-REST simple-JWT authentication system (in the django-REST authentication system)
First time setup(django-backend):
- When running the application for the firs time you need to make sure that you have your migrations done and superuser created.
- in your virtualenv, run "python manage.py migrate"
- then you run "python manage.py createsuperuser" and provide the details to create the superuser. This is an important step in deployment, but I would make it something easy when using sqlite
- afterwhich you can run "python manage.py runserver" and go to your local port that is hosting the site (more than likely 8000) and go to /admin. "http://127.0.0.1:8000/admin" to login with your details and see the admin panel to confirm everything works.
To Run(django-backend):
- make sure you are in the backend.
- make sure you are in virtualenv that you created (I name mine: myenv)
- If not, run "source ./myenv/scripts/activate
- then run the command: "python manage.py runserver"