Closed pkfec closed 1 year ago
This ticket fixes the snyk vulnerbilities in requirements-parsing.txt and requirements.txt. The following packages are upgraded:
General components of the application that this PR will affect:
regparser -e git+https://github.com/fecgov/regulations-parser.git@773-upgrade-django-parser#egg=regparser regsite -e git+https://github.com/fecgov/regulations-site@773-upgrade-django-site#egg=regulations regcore -e git+https://github.com/fecgov/regulations-core@773-upgrade-django-core#egg=regcore
Terminal One:
pyenv virtualenv (your virtual environment)
pip install -r requirements.txt
snyk test --file=requirements.txt --package-manager=pip
rm -rf node_modules
npm i
npm run build
dropdb eregs_local
createdb eregs_local
python manage.py migrate
python manage.py compile_frontend
python manage.py runserver
Terminal Two:
pip install -r requirements-parsing.txt
snyk test --file=requirements-parsing.txt --package-manager=pip
python load_regs/load_fec_regs.py local
For more detailed instructions follow the wiki on how to setup/parse regulations on local environment
NOTE: Merge other repo PRs first
Summary (required)
This ticket fixes the snyk vulnerbilities in requirements-parsing.txt and requirements.txt. The following packages are upgraded:
Required reviewers 1 developers
Impacted areas of the application
General components of the application that this PR will affect:
Related PRs
How to test
regparser -e git+https://github.com/fecgov/regulations-parser.git@773-upgrade-django-parser#egg=regparser regsite -e git+https://github.com/fecgov/regulations-site@773-upgrade-django-site#egg=regulations regcore -e git+https://github.com/fecgov/regulations-core@773-upgrade-django-core#egg=regcore
Terminal One:
pyenv virtualenv (your virtual environment)
pip install -r requirements.txt
snyk test --file=requirements.txt --package-manager=pip
rm -rf node_modules
npm i
npm run build
dropdb eregs_local
createdb eregs_local
python manage.py migrate
python manage.py compile_frontend
python manage.py runserver
(leave running)Terminal Two:
pyenv virtualenv (your virtual environment)
pip install -r requirements-parsing.txt
snyk test --file=requirements-parsing.txt --package-manager=pip
python load_regs/load_fec_regs.py local
For more detailed instructions follow the wiki on how to setup/parse regulations on local environment
NOTE: Merge other repo PRs first