- Clone the repository code from https://github.com/owasp/nest
- Copy
backend/.env/template
tobackend/.env/local
- Open
backend/.env/local
and changeDJANGO_CONFIGURATION
value toLocal
- Run
make run
, wait until Nest local is responding - Run
make load-data
to populate the database fromdata/
fixtures - 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 - Now you should be able to run
make index
- 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