fecgov / fec-eregs

The Federal Election Commission's web-based application that makes regulations easier to find, read and understand.
https://www.fec.gov/regulations/
Other
33 stars 13 forks source link

upgrade gevent #803

Closed tmpayton closed 11 months ago

tmpayton commented 11 months ago

Summary (required)

This ticket upgrades gevent to remove a security vulnerability.

Required reviewers - 1 developer

Impacted areas of the application

General components of the application that this PR will affect:

How to test

  1. Checkout this branch Terminal One:
  2. pyenv virtualenv (your virtual environment)
  3. pip install -r requirements.txt
  4. snyk test --file=requirements.txt --package-manager=pip
  5. rm -rf node_modules
  6. npm i
  7. npm run build
  8. dropdb eregs_local
  9. createdb eregs_local
  10. python manage.py migrate
  11. python manage.py compile_frontend
  12. python manage.py runserver (leave running)

Terminal Two:

  1. pyenv virtualenv (your virtual environment)
  2. pip install -r requirements-parsing.txt
  3. snyk test --file=requirements-parsing.txt --package-manager=pip
  4. python load_regs/load_fec_regs.py local
  5. Go to http://127.0.0.1:8000/ to view 45 regulations

For more detailed instructions follow the wiki on how to setup/parse regulations on local environment