- Install python 3.8+, check version using
python --version
- Instal pip, the python package manager, check version using
pip --version
- Install django using pip
pip install Django
- Verify django installed using
python -m django --version
. Should be at least 4.1 - Clone this project, navigate to project directory
- Install Django webpack loader:
pip install django-webpack-loader
- Install Django Rest Framework:
pip install django-rest-framework
- Install Django CORS Headers:
pip install django-cors-headers
- Install Knox:
pip install django-rest-knox
- Install react and react Dom
npm install react react-dom
- Install dependencies
npm install
- Inside the project directory, you should see the module
finalproject
(parent directory),solar
(frontend/React directory) andapi
(backend services). - To Start the app on your local machine, just run
npm install
,npm run dev
and thenpython manage.py runserver
. - Navigate to
localhost:8000/
in your browser to view app. - To Stop the server,
CTRL-c
inside your terminal window.
- If your default
python
version is less than 3.9, then you might have to install a newer version of python. Alternatively you can try runningpython3 manage.py runserver
and replace all instances ofpython
withpython3
Our AWS backend resources and code are currently not in sync with our Github repository. To allow the professor access to our AWS environment, we have shared the necessary credentials with them.