Skip to content

VedmaPranav/Nest

 
 

Repository files navigation

OWASP Nest

Initial setup

  1. Clone the repository code from https://github.com/owasp/nest
  2. Copy backend/.env/template to backend/.env/local
  3. Open backend/.env/local and change DJANGO_CONFIGURATION value to Local
  4. Go to https://www.algolia.com/ and create a free account. Create an Algolia app and update DJANGO_ALGOLIA_API_KEY and DJANGO_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.
  5. Run make run and leave it running. Wait until Nest local is responding
  6. In a new terminal session run make load-data to populate the database from data/ fixtures
  7. In the same window run make index-data
  8. Check the data is available via API endpoints: projects and issues

Optional steps (if you're going to manage or fetch data):

  1. Run make setup to create a super user
  2. Create a GitHub personal access token
  3. Open backend/.env/local and update GITHUB_TOKEN value
  4. Now you should be able to run make sync command that updates your local DB data

About

OWASP Nest Repository

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 84.9%
  • HTML 13.3%
  • Makefile 1.3%
  • CSS 0.5%