Interactions with the Table Stacker database are handled using custom Django management commands that allow you to create, update and delete tables.
Like other Django commands, they are run by interacting with the manage.py file in your project’s root directory.
- build [options]
Builds a static site with all the tables okayed for publication
$ python manage.py build
- buildserver [options]
Delete the table outlined in the configuration file provided by the first argument.
$ python manage.py buildserver # Optionally, set the port for the server. $ python manage.py buildserver 8080
- publish [options]
Sync the build directory with the Amazon S3 bucket specified in settings.py
$ python manage.py publish
- unbuild [options]
Empties the build directory
$ python manage.py unbuild
- unpublish [options]
Empties the Amazon S3 bucket defined in settings.py
$ python manage.py unpublish