CivicLens is a platform designed to abstract procedures and bureaucracy from the public commenting process. Our aim is to promote effective, accessible public commenting while providing transparency into the process, use plain language and human ideas to discuss federal rulemaking, and educate users on how commenting impacts government.
If you'd like to learn more about federal commenting here is a list of resources to explore in addition to our platform.
- Regulations.gov: The US government’s current tool for collecting comments on federal rulemaking. See the FAQ or this page for an introduction to federal regulations.
- Public Comment Project: A short guide to writing effective public comments.
- Library of Congress: How to trace regulations through the rulemaking process.
This project uses Poetry to manage dependencies.
-
Clone the Project Repository via SSH
git clone https://github.com/uchicago-capp-30320/CivicLens.git
- Install Virtual Environment and Dependencies in the Project Directory
poetry shell
poetry install
This must be run in the Poetry virtual environment. Upon completion of above installation requirements the virtual environment can be activated by simply running:
poetry shell
Deploy the Site Locally
Navigate to the CivicLens/civiclens directory, then run the following command from the terminal:
python manage.py runserver
Running Scripts
You can the run the project locally by prefixing python commands with poetry run
or by using poetry shell
to open activate the virtual environment and then running python filename.py
To run the test suite, run poetry run pytest
.
CivicLens is currently under active development with a v1 of the project live at civic-lens.org.
We welcome contributors who are interested in developing the future of this project! You can see our documentation and community guidelines here to get started. To begin contributing, create an issue on github, submit a PR, and it will be reviewed by a member of our team.
To set up pre-commit hooks that lint and test before pushing to the repo, execute the following commands in your command line locally:
pip install pre-commit
to install the pre-commit library.
pre-commit install
to create the hooks in your .git/hooks/pre-commit directory.
These will ensure that any pull request passes linting checks.
To run code that accesses the database or uses the django secret key you will need to create a .env
file in the root directory of the repo. The information to enter into the .env file can be shared securely if necessary.
This project was created by a group of University of Chicago Master of Science in Computational Analysis and Public Policy students. We made this site as a class project for Software Engineering for Civic Tech, taught by Professor James Turk.
Team: Claire Boyd, Abe Burton, John Christenson, Andrew Dunn, Jack Gibson, Gegory Ho, and Reza Pratama