All Projects → Code4PuertoRico → suministrospr

Code4PuertoRico / suministrospr

Licence: Apache-2.0 license
Suministros Puerto Rico - Entérate, Ayuda, Informa

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to suministrospr

tenants
JustFix.nyc is a tool to document, organize, and take action in getting repairs made on your apartment.
Stars: ✭ 15 (-62.5%)
Mutual labels:  civic-tech
Open-Water-Rate-Specification
A machine-readable format for storing and sharing water rate structures.
Stars: ✭ 18 (-55%)
Mutual labels:  civic-tech
school-navigator
Navigate the Durham, NC public school system
Stars: ✭ 25 (-37.5%)
Mutual labels:  civic-tech
Forum-Advanced
This is built on Laravel Framework 5.5. This was built for demonstrate purpose.
Stars: ✭ 14 (-65%)
Mutual labels:  community-project
Disaster-Management
⛈️⚡ Disaster Management Web Application
Stars: ✭ 19 (-52.5%)
Mutual labels:  disaster-response
votacidade-app
Calculadora de afinidade para o Vota Cidade 2020
Stars: ✭ 12 (-70%)
Mutual labels:  civic-tech
prototype-fund-projects
💰 A List of All Projects Funded by the Prototype Fund w/ Links to Code Repos
Stars: ✭ 13 (-67.5%)
Mutual labels:  civic-tech
tts
Table Top Simulator Mod for Star Wars: Legion
Stars: ✭ 32 (-20%)
Mutual labels:  community-project
WhoCanIVoteFor
🗳 The source for https://whocanivotefor.co.uk/
Stars: ✭ 35 (-12.5%)
Mutual labels:  civic-tech
Safer-Streets-Priority-Finder
The Safer Streets Priority Finder enables you to analyze the risk to bicyclists and pedestrians on your community’s roads.
Stars: ✭ 22 (-45%)
Mutual labels:  civic-tech
civiform
CiviForm aims to simplify the application process for benefits programs by re-using applicant data for multiple benefits applications. It's being developed by Google.org in collaboration with the City of Seattle and community contributors.
Stars: ✭ 56 (+40%)
Mutual labels:  civic-tech
nyc-crash-mapper
React Redux web application for viewing, filtering, & comparing trends of automobile collision data published by the NYPD.
Stars: ✭ 15 (-62.5%)
Mutual labels:  civic-tech
dfips
DeFiChain Improvement Proposals (DFIP) & Community Fund Proposals (CFP)
Stars: ✭ 111 (+177.5%)
Mutual labels:  community-project
BnademOverflow
BnademOverFlow's Official Website
Stars: ✭ 37 (-7.5%)
Mutual labels:  community-project
portfolio-html
🌍 Open source portfolio template built with plain Html, CSS and JavaScript for developers to create their portfolio website
Stars: ✭ 52 (+30%)
Mutual labels:  community-project
a4-meinberlin
The central participation platform of the city of Berlin, Germany
Stars: ✭ 32 (-20%)
Mutual labels:  civic-tech
Forms
Tracking our progress moving all city paper and pdf forms online.
Stars: ✭ 14 (-65%)
Mutual labels:  civic-tech
code-gov-front-end
Front-end of code.gov
Stars: ✭ 42 (+5%)
Mutual labels:  civic-tech
take-off
An Open Source Distributed Hackathon, Lead By Giveth.io
Stars: ✭ 21 (-47.5%)
Mutual labels:  community-project
ACCESS-NYC
Find help in NYC with food, money, housing, work, and more on ACCESS NYC. Maintained by @NYCOpportunity
Stars: ✭ 27 (-32.5%)
Mutual labels:  civic-tech

Suministros Puerto Rico

https://suministrospr.com

Updates

We are archiving this project.

While the project itself is still available in it's URL, there is no Code for Puerto Rico team maintaining it. If there is interest in working on this project please let the Code for PR core team know by creating an discussion here and joining our hack nights.

Development

# Install pipenv (https://pipenv.kennethreitz.org/en/latest/install/#installing-pipenv)
$ pip install --user pipenv

# Install project dependencies
$ pipenv install --dev

# Install pre-commit hooks
$ pipenv run pre-commit install

# Copy example environment variables to proper file
$ cp example.env .env

# Run Django database migrations
$ pipenv run python manage.py migrate

# Run local server
$ pipenv run python manage.py runserver_plus

Docker

$ docker-compose up --build

Importing data

  1. Unarchive data extract to ./data/scraped/*.json

  2. Run the import_data command:

$ docker-compose exec web python manage.py import_data ./data/scraped

Deployment

git push heroku master

Clearing cache

heroku run python manage.py clear_cache

Update i18n locale strings

  1. Extract i18n strings with:
$ docker-compose exec web django-admin makemessages -l en
  1. Update local strings with the translated text on the files located at suministrospr/locale

For example:

#: suministrospr/suministros/templates/suministros/suministro_form.html:36
msgid "Municipio"
msgstr "Municipality""
  1. Compile strings and generate .mo files with:
docker-compose exec web django-admin compilemessages
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].