Repository files navigation
First, ensure you have virtualenv-wrapper installed: (pip install virtualenv-wrapper)
Run ./regs_bootstrap.sh to clone directories and install dependencies
brew cask install vagrant
vagrant up to create and provision the VM
vagrant ssh to connect to the running VM
cp /vagrant/regs_bootstrap.sh regs_bootstrap.sh && ./regs_bootstrap.sh to clone directories and install dependencies
Continue from step 3 above.
Start Server and Download XML files to start playing
From regulations-core/, start a server with ./bin/django runserver
From regulations-site/, start a server with ./bin/django runserver 8001
Download an XML file of a full regulation from http://www.gpo.gov/ , for example, Title 12 and put that in regulations-parser/
Run the parser against a regulation by running python build_from.py CFR-2012-title12-vol8-part1004.xml 12 2011-18676 15 1693
The results will write to the API, and can be viewed at http://localhost:8001
About
Work towards a bootstrap for getting a full eRegs dev environment set up.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.