Skip to content

luisvxyz/suministrospr

 
 

Repository files navigation

Suministros Puerto Rico

https://suministrospr.com

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

About

Suministros Puerto Rico - Entérate, Ayuda, Informa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 65.5%
  • HTML 16.5%
  • CSS 16.1%
  • Shell 1.5%
  • Dockerfile 0.4%