Polistack is a web application that aims to match a person's policy interest with current public sentiment surrounding the policy. It provides a user-friendly interface to retrieve policy information from Congress.gov and relevant public reactions from Twitter. The app utilizes MongoDB as the backend database and incorporates indexing algorithms and stemming techniques for efficient data retrieval. The goal is to empower individuals to stay informed about governmental policy updates and understand public sentiment, enabling faster and more informed action.
Built by RIT Students: Rishabh Arora, Christian Haacke, Odin Wright, Arjun Kozhissery
ROLES
TECH STACK
http://127.0.0.1:8000/congress/bills/
http://127.0.0.1:8000/congress/bill/4376/
Before running the commands, ensure that you have the latest version of Python installed.
pipenv install django
- Install django.python3 --version
- Verify the installed Python version.pip3 install pipenv
- Install Pipenv, a dependency management tool.pipenv shell
- Activate the virtual environment for your project.pipenv --venv
- Find path to virtual environment.django-admin startproject name_of_your_project .
- Create a new Django project in the current directory.python3 manage.py runserver
- Start the development server at http://127.0.0.1:8000/. source /path/to/virtual_environment/bin/activate
Sometimes the runserver command fails use this for alternative.python3 manage.py startapp app_name
- Start a new django apppip3 show django
- Check if django is installed and details are shown.pip3 install requests
pipenv install django-debug-toolbar
pip3 install pytz
python3 manage.py makemigrations polistackapp
python3 manage.py migrate
pip3 install pymongo
pip install django-bootstrap5
pipenv clean
pipenv install
python3
is used for avoiding using the Mac pre-installed python version.Make sure to execute these commands in the project directory to set up and run your Django project successfully.
control + l
- clear terminal window.command + b
- show/hide explorer panel.control + \
` - show/hide terminalcommand + p
- search boxHome Screen
Search Results Screen
Bill Detail