Skip to content

DB Initialization

Gonzalo Ulla edited this page Sep 18, 2018 · 1 revision

PostgreSQL DB initial data

  • Go to helpo-api/actividades/management/commands
  • There you have populate_db.py script which inserts initial data to DB
  • Also, there are CSV files containing the data which you can extend

Usage

Docker

  • Nothing, just run docker-compose build and docker-compose up as always

Local

  • Run pipenv run python manage.py popoulate_db.py
Clone this wiki locally