- Clone the repository code from https://github.com/owasp/nest.
- Create
backend/.env/local
file and copybackend/.env/template
's contents into it. - Open
backend/.env/local
and changeDJANGO_CONFIGURATION
value toLocal
. - Go to https://www.algolia.com/ and create a free account.
Create an Algolia app and update
DJANGO_ALGOLIA_API_KEY
andDJANGO_ALGOLIA_APPLICATION_ID
in your.env/local
file. That's all you need in terms of Algolia app configuration. You can ignore their onboarding wizard instructions. Just make sure the API key has index write permissions. - Run
make run
and leave it running. Wait until Nest local is responding. - In a new terminal session run
make load-data
to populate the database fromdata/
fixtures. - In the same window run
make index-data
. - Check the data is available via API endpoints: projects and issues.
Optional steps (if you're going to manage or fetch data):
- Run
make setup
to create a super user. - Create a GitHub personal access token.
- Open
backend/.env/local
and updateGITHUB_TOKEN
value. - Now you should be able to run
make sync
command that updates your local DB data.