========================
Code for the "Full stack Django: Quick start with JWT auth and React/Redux" article
cd backend
virtualenv env
source env/scripts/activate
pip install -r requirements.txt
cd ../frontend
npm install
in backend
./manage.py runserver
should be running on localhost:8000
in frontend
npm run start
should be running on localhost:3000
To run in production first make sure the backend is properly set up. Then, go to the frontend folder and run
sudo npm run build
And wait for the build process to finish. Then run
python3.6 manage.py runserver 0.0.0.0:80