Most openlibrary operations are modeled as commands.


Bootstraps the dev instance.

$ python bootstrap

Bootstrap command is explained in bootstrap.


Starts all the OL services.:

$ python start

This command starts supervisord using configuration from conf/supervisor/linux.ini or conf/supervisor/macosx.ini based on the platform.

Logs of the services are written to var/log.


Start a bash shell with the env required for running all OL scripts.

$ python shell

This starts a bash shell with conf/bashrc as rc file.


Runs all the test cases.

$ python test

Behind the scenes it runs scripts/


Builds the sphinx docs.

$ python build_sphinx

The docs will be generated in build/sphinx/html/.

The custom commands are implemented in

To know more about how to add custom setuptools commands, see: