Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 776 Bytes

README.md

File metadata and controls

37 lines (25 loc) · 776 Bytes

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

$ cp example.env .env
$ pipenv install --dev
$ pipenv run python manage.py migrate
$ 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