Giter Club home page Giter Club logo

regs_bootstrap's Introduction

Native Install

  1. First, ensure you have virtualenv-wrapper installed: (pip install virtualenv-wrapper)
  2. Run ./regs_bootstrap.sh to clone directories and install dependencies

Vagrant Install

  1. brew cask install vagrant
  2. vagrant up to create and provision the VM
  3. vagrant ssh to connect to the running VM
  4. cp /vagrant/regs_bootstrap.sh regs_bootstrap.sh && ./regs_bootstrap.sh to clone directories and install dependencies
  5. Continue from step 3 above.

Start Server and Download XML files to start playing

  1. From regulations-core/, start a server with ./bin/django runserver
  2. From regulations-site/, start a server with ./bin/django runserver 8001
  3. Download an XML file of a full regulation from http://www.gpo.gov/, for example, Title 12 and put that in regulations-parser/
  4. Run the parser against a regulation by running python build_from.py CFR-2012-title12-vol8-part1004.xml 12 2011-18676 15 1693
  5. The results will write to the API, and can be viewed at http://localhost:8001

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.