Convenience tasks¶
There are a number of tasks and functions useful for basic, repetitive operations like interacting with or uploading tables to CARTO.
Makefile¶
The Makefile makes it easier to run tasks.
Run any task¶
Any task can be run with:
make -- run path.to.module ClassName --param-name-1 value1 --param-name-2 value2
For example:
make -- run us.bls QCEW --year 2014 --qtr 4
Other tasks¶
make dump
: RunsDumpS3
make restore <path/to/dump>
: Restore database from adump
.make sync-meta
: RunsSyncMetadata
make sync-data
: RunsSyncAllData
make sh
: Drop into an interactive shell in the Docker containermake psql
: Drop into an interactive psql session in the databasemake kill
: Kill all Docker processesmake docs
: Regenerate all documentationmake catalog
: Regenerate the HTML catalog