Skip to content

CC Legal Database: curated repository of Case Law and Scholarship data from around the world in a Django based website.

License

Notifications You must be signed in to change notification settings

creativecommons/legaldb

Repository files navigation

caselaw [WIP]

MIT license Code style: black

Repository of Case Law and Scholarship data from around the world manually curated.

⚠️ This project, CC’s Legal Database, is undergoing a reimplementation using Django, you can see a preview running on Heroku.

Visit the current website: CC Legal Database [Beta].

Code of Conduct

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.

Contributing

See CONTRIBUTING.md. It contains some general instructions that should be followed when contributing to any of the Creative Commons open-source repositories.

Development setup

To follow these instructions, Python 3 and Pipenv are required.

Install dependencies with pipenv.

pipenv install --dev

Copy .env.template and set environment variables (like DJANGO_DEBUG_ENABLED=True for local development and testing) and secret keys in a .env file.

cp .env.template .env

After setting variables run the migrations to create the database (we use Postgresql in this case).

pipenv run python manage.py migrate

The next step is to create an admin account for Django admin.

pipenv run python manage.py createsuperuser

Finally you can start a development server with:

pipenv run python manage.py runserver

and see a local version of the website following http://127.0.0.1:8000/ on the browser.

After made code changes and before commit, check code style.

pipenv run black .
pipenv run flake8

Spreadsheets

Caselaw - Primary Data Google Sheet

Google Sheet:

Google Form Responses Google Sheets

Google Sheets:

Note: These Google Sheets are the results of people completing the Google Forms.

Forms

License

About

CC Legal Database: curated repository of Case Law and Scholarship data from around the world in a Django based website.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks