datamade/990-xml-database

Name: 990-xml-database

Owner: datamade

Description: Django app to consume and store 990 data and metadata

Created: 2018-03-07 03:13:50.0

Updated: 2018-03-07 03:13:52.0

Pushed: 2018-03-06 17:44:23.0

Homepage: null

Size: 48

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

990-xml-database

Django app to consume and store 990 data and metadata. Depends on irsx (which is installed as a dependency below).

Setup
  1. git clone this repository git clone https://github.com/jsfenfen/990-xml-database.git and $ cd 990-xml-database

  2. install the requirements with pip install -r requirements.txt. This is Django 2, so only python3 is supported.

  3. copy the irsdb\/local_settings.py-example file to irsdb\/local_settings.py and edit it to reflect your database settings.

  4. run python manage.py makemigrations metadata to generate the metadata migrations, and then run them with python manage.py migrate metadata.

  5. Load the metadata with the management command: python manage.py load_metadata. This command erases the metadata before loading, so it can be rerun if it somehow breaks in the middle.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.