The project depends on several secrets, stored in AWS Secret Manager. Ensure your AWS environment credentials are set up in order to access.
Install npm.
On Mac: brew install npm
- check using appropriate version
On Windows: https://nodejs.org/en/
To set up locally, run the following:
make local
make migrate
make npm-install
(using node v10.9)make frontend-dev
If you want to log in to the django admin page (will be at 127.0.0.1:8000/admin
) create a superuser using make superuser
.
- Run
pipenv install
after making changes to thePipfile
/Pipfile.lock
- Kill the webpack process then run
make npm-install
after updatingpackage.json
The website is hosted on AWS Elastic Beanstalk, with an RDS database.
To deploy an update, run:
make npm-build
andmake collect-static
(for a frontend update).make deploy