Skip to content
Josh R. edited this page May 28, 2015 · 2 revisions

Once you've activated Bowline, several commands are available to use.

deactivate

Deactivates Bowline shell. Restores previous path and command prompt settings.

backup

Calls mysqldump to create a database backup, saved as GIT_ROOT/.GIT_BRANCH.gz

build

Starts containers. The first time this is called on a project, containers will be built. Subsequent calls will simply start existing containers if not already running.

composer

Call Composer inside the web container, use as you would normally call Composer.

drush

Call Drush inside the web container, use as you would normally call Drush.

enter

Usage: enter [command]

Runs a shell command inside the container. e.g. 'enter ls' will run 'ls' inside the container. If no command is specified, running 'enter' will call 'bash' by default, dropping you into a shell inside the container.

fix-perms

Resets ownership of all files under the web container's document root to www-data:www-data. Useful if file permissions have been changed from outside the container.

hoist

Usage: hoist [rigging]

Hoist a rigging! See Riggings for more information.

import

Usage: import [--nobackup]

Drops existing database, then loads contents of .snapshot.sql.gz into database. Unless --nobackup flag is used, the existing database contents will be saved before being dropped.

invoke_proxy

Builds nginx reverse-proxy container if needed, then starts the container. This allows you to use URLs to access your web container rather than the IP address.

phpcbf

Calls phpcbf inside the web container.

phpcs

Calls phpcs inside the web container.

run

Runs test suite.

settings_init

Configures Drupal's settings.php to work within the container. Optionally, if Drupal is not present (i.e. this is a brand-new project), this command will give you the option to download and install a fresh copy of Drupal.

Clone this wiki locally