cd server
to get your terminal/cmd into the server directory.- To run the server, create a virtual environment
virtualenv venv && source venv/bin/activate
, install packagespip install -r requirements.txt
-- the requirements.txt file is inside the server subdirectory -- and dopython manage.py migrate && python manage.py runserver
.- Again, make sure when you do this, you are inside the server directory on your terminal/cmd.
- On Windows, you should do
venv\Scripts\activate
instead ofsource venv/bin/activate
- Change
EMAIL_HOST_USER
to your Email andEMAIL_HOST_PASSWORD
to your Account Password. In settings.py
-
cd jwt-react
to get your terminal/server into the frontend (react) folder. -
npm install
to install all of the dependencies for the front end application. -
npm start
and you should be good to go, ensure that your backend is running on porthttp://localhost:8000
, if you run it on another port/ip please change thebase_url
injwt-react/src/api/auth.js