Django React Setup
Django React Setup
- Create a virtual environment using pipenv shell command inside the directory you are
working.
The result will look something like the above image. There will be a pip file inside the
project folder once you create a virtual environment.
- Install the following dependencies that are necessary for the project namely Django,
djangorestframework and Django-rest-knox.
Choose this option, since it has a relation with the project you are working with.
- Then add your app inside the settings.py file in the inner ecommerce directory.
- Add rest_framework to the installed_apps list in the above image, since we are also
going to use that.