websauna.system.devop.scripts.syncdb module

ws-sync-db script.

Create initial tables for the database specified on the configuration file.

websauna.system.devop.scripts.syncdb.main(argv=['/Users/moo/code/websauna/websauna/venv/bin/sphinx-build', '-b', 'html', '-d', 'build/doctrees', 'source', 'build/html'])[source]

Create initial tables for the database specified on the configuration file.

Parameters

argv (List[str]) – Command line arguments, second one needs to be the uri to a configuration file.

Raises

sys.SystemExit