Coder Social home page Coder Social logo

glennneiger / courtlistener Goto Github PK

View Code? Open in Web Editor NEW

This project forked from freelawproject/courtlistener

0.0 1.0 0.0 203.89 MB

A free and powerful system for awareness and research of the American judicial system.

Home Page: https://www.courtlistener.com

License: Other

Dockerfile 0.01% Makefile 0.01% Shell 0.46% Python 53.32% C 0.43% HTML 22.84% CSS 1.44% JavaScript 21.46% PLpgSQL 0.04%

courtlistener's Introduction

CourtListener

CourtListener.com is the main initiative of Free Law Project.

This repository is organized in the following way:

  • ansible: ansible playbooks and inventories for setting up and updating your machine.
  • apache: configurations for the Apache webserver.
  • cl: the Django code for this project. 99% of everything is in this directory.
  • cleaning_scripts: cleanup scripts that are used from time to time to fix data issues or errors.
  • OCR: code and files related to our Tesseract OCR configuration.
  • scripts: logrotate, systemd, etc, and init scripts for our various configurations and daemons.
  • Solr: Anything related to the solr configuration.

Getting Started

You have two options for installing the CourtListener project. The easiest and recommended way is to use Vagrant:

Vagrant provides a self-contained, controlled environment preconfigured to run CourtListener locally in development mode. For more details, check out the blob post above or the DEVELOPING.md file for more details on how to get started.

The other, harder way to get set up is to follow the instructions on our wiki:

We endeavor to keep these up to date, since for now they are the ground truth in terms of how to set up a new server.

Getting Involved

If you want to get involved send us an email with your contact info or take a look through the issues list. There are innumerable things we need help with, but we especially are looking for help with:

  • legal research in order to fix data errors or other problems (check out the data-quality label for some starting points)
  • machine learning or natural language problems.
  • signal processing to improve the features we can provide for oral argument recordings.
  • test writing -- we always need more and better tests
  • small fixes here and there (these are usually flagged with the help-wanted label)

But in general, we're looking for all kinds of help! Get in touch if you think you have skills we could use or if you have skills you want to learn by improving CourtListener.

Contributing code

See the developer guide.

Finally, before we accept code from new people, we ask that they complete a contributor_license_agreement.txt. You can find a form to fill out for this in the root of our project. If you have any questions about that, please don't hesitate to ask. The short version is that this helps us to protect the platform.

To familiarize yourself with the state of the art in the technologies we're using, we put together the related academic literature library.

Upgrading On the Regular

Each day, when you start working on CourtListener, you should make sure that you have the latest code and dependencies. There are a couple different ways to do this.

The first thing you should do is:

ansible-playbook ansible/upgrade.yml -i ansible/hosts --ask-become-pass

This says to run the tasks in the playbook called upgrade.yml on the hosts described in ansible/hosts (which is localhost). Get the sudo password, since it may be needed to start/stop services. Pretty simple.

If you're using Vagrant, you also need to be sure to run any new playbooks that were pulled from git in the command above. These will appear in the ansible directory for the version of Free Law Machine that you have installed, and represent all the changes that have been made to it since it was created. So, for example, the first time you start up your Vagrant machine, you should run all of the playbooks in the 1.6.0 directory (assuming that's the version you're running):

ansible-playbook ansible/1.6.0/0001_update_solr.yml -i ansible/hosts --ask-become-pass
ansible-playbook ansible/1.6.0/0002_create_recap_core.yml -i ansible/hosts --ask-become-pass
# etc.

You may want to override the default variables (in defaults.yml) if you have CourtListener installed in a "special" location. To do that you can add something like:

--extra-vars "install_root=/home/mlissner/Programming/intellij/courtlistener virtualenv_root=/home/mlissner/.virtualenvs/courtlistener"

Just to pick some random examples.

Any time you see a new playbook come in when you pull code, you should run it in the same way.

If you installed from the Wiki, you should watch for upgrades coming into these folders as well, and should apply them as you see them arrive.

Upgrading Production

This has gotten easy:

ansible-playbook ansible/upgrade.yml --ask-become-pass

And also run any special ones in any version of Vagrant, just like for Wiki installations.

Copyright

All materials in this repository are copyright Free Law Project under the Affero GPL. See LICENSE.txt for details.

Contact

To contract Free Law Project, see here:

https://free.law/contact/

courtlistener's People

Contributors

abagwell avatar anseljh avatar colinstarger avatar davidxia avatar elliottash avatar enyst avatar fbennett avatar imgbot[bot] avatar imgbotapp avatar jabagawee avatar jeffgortmaker avatar johnbward avatar johnhawkinson avatar jraller avatar karlnicholas avatar krist-jin avatar mlissner avatar nowherenearithaca avatar rasa avatar rowyn avatar smiller171 avatar voutilad avatar

Watchers

 avatar

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.