You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dionisio edited this page Jan 30, 2025
·
5 revisions
This is the full list of commands available in ce-dev 2.x
You can always execute
ce-dev --help
To see all the commands from the terminal window.
Browse
Open preset URL(s) in a browser
ce-dev browse
Create
Generates a new project from a template
ce-dev create
Deploy
Setup an app with Ansible playbooks
ce-dev deploy
Destroy
Destroy project's containers using docker compose kill
ce-dev destroy
Drush
Run drush in the web container, only if the project is Drupal based.
USAGE
$ ce-dev drush COMMAND
ARGUMENTS
COMMAND Drush command to execute
EXAMPLES
$ ce-dev drush st
Help
Display help for ce-dev
ce-dev help
Init
Generates a docker-compose.yml file from a template
USAGE
$ ce-dev init [-h] [-t <value>]
FLAGS
-h, --help Show CLI help.
-t, --template=<value> [default: ce-dev.compose.prebuilt.yml] path to a docker compose template file, relative to the project root
EXAMPLES
$ ce-dev init --template example.compose.yml
Provision
Provision containers with Ansible playbooks.
ce-dev provision
Shell
Open a shell session on the given container. By default it opens the web container related to project.
USAGE
$ ce-dev shell [CONTAINER] [-h]
ARGUMENTS
CONTAINER Name of the container to target. Use `docker ps` to see available containers.
FLAGS
-h, --help Show CLI help.
EXAMPLES
$ ce-dev shell example-web
Start
Spin up containers using docker compose and update /etc/hosts file.