Python, Node, git
- Create a empty folder and
cd
into that folder. - Type the following command to clone project in same directory.
git clone https://github.com/sushil-kamble/django-react-auth.git .
cd backend/
python -m venv venv
venv\Scripts\activate
If their is any error activating virtual env, please google search it for your system or try
venv\bin\activate
orsource venv/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver
- Head back to the root folder
- Enter in
cd frontend/
yarn
If you don't have yarn installed
npm i
Remove yarn.lock as you will already have package.lock
yarn dev # OR npm run dev
Make sure both frontend and backend are running.
- Delete
.git
folder in project rootMake sure you turn on the "Show hidden files, folders and disks" option.
git init