https://github.com/citizenlabsgr/upwardmobility-webapp
Django webapp embedding Streamlit components.
https://github.com/citizenlabsgr/upwardmobility-webapp
django hacktoberfest python streamlit
Last synced: 2 months ago
JSON representation
Django webapp embedding Streamlit components.
- Host: GitHub
- URL: https://github.com/citizenlabsgr/upwardmobility-webapp
- Owner: citizenlabsgr
- Created: 2022-09-07T00:05:09.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-09-07T15:50:24.000Z (almost 4 years ago)
- Last Synced: 2025-06-24T15:11:45.710Z (12 months ago)
- Topics: django, hacktoberfest, python, streamlit
- Language: Python
- Homepage: https://upwardmobility.herokuapp.com
- Size: 2.23 MB
- Stars: 1
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Upward Mobility
Interactive webapp to visualize upward mobility across the US at a county level. The [Upward Mobility web application](http://upwardmobility.herokuapp.com/) is built with Django and hosted on Heroku.
This project is used along with a [Streamlit app](https://github.com/citizenlabsgr/upwardmobility) integrated as an iframe. The data referenced and used for this project was collected, cleaned, and merged using Jupyter notebooks located in that same repository.
## Project Setup
1. set up virtual environment outside of project
- `python -m venv myvenv` where myvenv can be whatever name you want.
2. `source myvenv/bin/activate`
3. clone project
- `git clone https://github.com/citizenlabsgr/upwardmobility-webapp`
4. cd upwardmobility-webapp (go into folder)
5. `pip install -r requirements.txt`
6. `python manage.py migrate`
7. `python manage.py runserver --settings=upwardmobility.local_settings`
## Contributor Instructions
If you want to contribute:
- `git pull origin main` to make sure your local version is the most updated version
- `git checkout -b my-descriptive-branch-name` (where you create a descriptive branch name, maybe include your name): e.g. `raca-fix-header`
- when it's done and how you like it, save then run (in the base/root of the directory):
- `git status` to make sure you are only updating what you intend to
- `git diff` will show you the differences in detail
- `git add --all` when you are happy with those changes
- `git commit -m "message here"`
- `git push origin my-descriptive-branch-name`
You can then go to GitHub and review the changes by submitting a Pull Request, and ask for review or merge directly.