Skip to content

Command line options

Adam Schubert edited this page Mar 23, 2019 · 1 revision

Command line options

Run integrated web server (good for dev)

gitlab-tools server [-p NUM] [-l DIR] [--config_prod]

List avaiable routes

gitlab-tools list_routes # List avaiable routes

Run Python shell

gitlab-tools shell [--config_prod] # Python shell

Create database tables

gitlab-tools create_all [--config_prod] # Create all database tables

Post install script called after repository install

gitlab-tools post_install [--config_prod] [--user=USER] # Post install script 

Database migrations

Use gitlab-tools migrations upgrade to upgrade database schema

gitlab-tools migrations (upgrade|current|migrate|history|heads|show|stamp|downgrade|init|revision|merge|branches|edit) [--config_prod]

Start Celery Beat

gitlab-tools celerybeat [-s FILE] [--pid=FILE] [-l DIR] [--config_prod]

Start Celery Worker

gitlab-tools celeryworker [-n NUM] [-l DIR] [--config_prod]

Interactive post install setup script

gitlab-tools setup [--config_prod]

Help

gitlab-tools (-h | --help)