trufflesecurity / of-CORS

144 stars 19 forks source link

Local setup working #7

Closed lavalamp- closed 1 year ago

lavalamp- commented 1 year ago

Description of Change

This PR makes a handful of changes to get everything working locally. The following steps should be taken (once software and dependencies are installed:

make migrate
python manage.py add_testing_target
make run_server

This will set the server to be running on http://127.0.0.1:8080/. Navigating a browser to that URL should now result in redirection to a 404 on Google.com. Looking at the server logs you should see a number of API submissions:

image

Impact of Change

Things are working locally!

Collateral Work

Visualize results on a page.

Testing

Unit tests where appropriate and functional testing to confirm that both the landing page and the debug page work as expected.