backend
folder in the project root folder.python3 -m venv env
to create a new python virtual environment.source env/bin/activate
on Linux/Mac or .\env\Scripts\activate.bat
on Windows to start the new virtual environment.pip install -r requirements.txt
to install dependencies..env
under the backend/backend
folder. The contents of this file should be SECRET_KEY = 'secretkeyhere'
. See this guide for details on generating this key.python manage.py migrate
to update the database.frontend
folder.npm install
to install dependencies.frontend/public/images/photos
folder with images of the planets. These photos are copyrighted so they're not checked into source control.backend
folder in the project root folder.source env/bin/activate
on Linux/Mac or .\env\Scripts\activate.bat
on Windows to start the virtual environment.python manage.py runserver
to start the server.deactivate
to stop using the virtual environment.frontend
folder.npm run start
to start the app in development mode.Alternatively, you can build the app in production mode:
npm run build
to build the app into the build
folder.npm install -g serve
), you can run serve -s build
.