-
Python should be installed. (Version >=3.9.x)
-
Pip should be installed. (Version >=21.1.x)
-
Virtual Environment Wrapper should be installed. (Version >=4.8.x)
Download | Virtual Environment Wrapper (pypi.org)
Setup: Virtual Environment -
Node.js should be installed. (Version >=16.x.x)
-
An IDE (e.g VSCode, Atom etc)
- Extract the downloaded starterKit.zip folder.
- Open the starterKit folder and rename it to your requirement.
- Now open the folder and switch to the djangoBackend named folder.
- Create a virtual environment to install all the dependencies by providing command
virtualenv virtualenv_name
(in place of virtualenv_name, provide your preferred name). - Switch to the virtual environment by providing the command
.\virtualenv_name\Scripts\activate.ps1
. - Run the command
pip install -r requirements.txt
. - After all the dependencies are installed, run the command
python manage.py runserver
. - This will run the local django server and you will be able to use it with react application.
- Open a new terminal window and change directory to frontend folder.
- Install the dependencies by running
npm install
. - Run the application by giving command
npm start
.