To load the database you must ingest (create the course JSON), validate (make sure the data makes sense), and digest (load the JSON into the database). You can do so using the following commands:

## Ingest¶

Note

If you have ingested before and still have the JSON file on your device, you may skip ingesting and simply digest the old data. This is useful if you are resetting your database during development and wish to quickly reload course data.

python manage.py ingest [SCHOOLCODE]


You may leave out the school code to parse all schools. This will run for a substantial amount of time and is not recommended.

Note

To parse JHU data, you will need to acquire an API access key from SIS. Add the key to dev_credentials.py in the semesterly/ directory.

## Digest¶

python manage.py digest [SCHOOLCODE]


You may leave out the school code to digest all schools.

python manage.py [command] --help

.. code-block:: bash