Parser writes 45 regulations to the local eregs. It will take ~10-20ish minutes to finish parsing 45 regulations
checkout branch
in requirements.txt and requirements-parsing.txt change the regulations-site to point to my branch
REPLACE -e git+https://github.com/fecgov/regulations-site@master#egg=regulations
WITH -e git+https://github.com/fecgov/regulations-site@test-mocha-upgrade#egg=regulations
Terminal 1:
pyenv virtualenv venv-eregs
pip install -r requirements.txt
rm -rf node_modules
npm i
npm run build
dropdb eregs_db (change the db name based on what is given in local_settings.py)
Summary (required)
Switches us over from node-sass to sass (which is dart sass) and upgrades us to node 18.13.0 (which was LTS and is the current CMS version)
Required reviewers
2 devs
Impacted areas of the application
General components of the application that this PR will affect:
Related PRs
https://github.com/fecgov/regulations-site/pull/8
How to test
Parser writes 45 regulations to the local eregs. It will take ~10-20ish minutes to finish parsing 45 regulations
checkout branch
in requirements.txt and requirements-parsing.txt change the regulations-site to point to my branch REPLACE
-e git+https://github.com/fecgov/regulations-site@master#egg=regulations
WITH-e git+https://github.com/fecgov/regulations-site@test-mocha-upgrade#egg=regulations
Terminal 1:
Terminal 2:
For more detailed instructions follow the wiki on how to setup/parse regulations on local environment
NOTE: This will not pass it's circle build until reg site PR is merged.