/GreatReads

Primary LanguageJavaScript

GreatReads

You will need to setup python env and npm Both frontend and backend is in the root folder. Heroku doesn't allow running build scripts from subfolders for some weird reason.

Deploy locally:

In the terminal where django will be run

python manage.py runserver

In the terminal where react will be run

npm start

How to update react build that django is using:

build react again

npm run build

The website django is showing doesn't update when I modify react files:

Django just uses the files generated by npm run build. Just rebuild it