dockerdrupal / cli
DruDock Cli
Installs: 137
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 4
Forks: 1
Open Issues: 35
Type:project
Requires
- php: ^5.5|~7.0
- alchemy/zippy: 0.2.*@dev
- coresphere/console-bundle: dev-master
- doctrine/cache: ^1.6
- guzzlehttp/guzzle: ^6.2
- guzzlehttp/ringphp: ^1.1
- padraic/phar-updater: ^1.0
- psr/log: ^1.0.0
- stecman/symfony-console-completion: ~0.7
- symfony/class-loader: ~2.8|~3.0
- symfony/config: ~2.8|~3.0
- symfony/console: ~2.8|~3.0
- symfony/dependency-injection: ~2.8|~3.0
- symfony/event-dispatcher: ~2.8|~3.0
- symfony/filesystem: ~2.8|~3.0
- symfony/finder: ~2.8|~3.0
- symfony/framework-bundle: ~2.8|~3.0
- symfony/http-kernel: ~2.8|~3.0
- symfony/process: ~2.8|~3.0
- symfony/var-dumper: ~2.8|~3.0
- symfony/yaml: ~2.8|~3.0
Requires (Dev)
- drush/drush: ^8.0
- phpunit/phpunit: ^4.3 <4.8
- symfony/debug: ~2.8|~3.0
- dev-master
- 1.4-alpha1.0.12
- 1.4-alpha1.0.10
- 1.4-alpha1.0.9
- 1.4-alpha1.0.8
- 1.4-alpha1.0.7
- 1.4-alpha1.0.6
- 1.4-alpha1.0.5
- 1.4-alpha1.0.4
- 1.4-alpha1.0.3
- 1.4-alpha1.0.1
- 1.3.4-alpha7.2
- 1.3.4-alpha7.1
- 1.3.4-alpha7
- 1.3.4-alpha6
- 1.3.4-alpha5
- 1.3.4-alpha4
- 1.3.4-alpha3
- 1.3.4-alpha2
- 1.3.4-alpha1
- 1.3.4-alpha
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.3.0-rc11
- 1.3.0-rc10
- 1.3.0-rc9
- 1.3.0-rc8
- 1.3.0-rc7
- 1.3.0-rc6
- 1.3.0-rc5
- 1.3.0-rc4
- 1.3.0-rc3
- 1.3.0-rc2
- 1.3.0-rc1
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.8a
- 1.0.7
- 1.0.6
- 1.0.6a
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-dependabot/composer/symfony/security-core-3.4.48
- dev-dependabot/composer/symfony/http-foundation-3.4.47
- dev-development
- dev-release/1.4-alpha1.0.12
- dev-feature/general-updates
- dev-feature/regex-fix
- dev-release/1.4-alpha1.0.10
This package is not auto-updated.
Last update: 2022-02-01 13:01:06 UTC
README
DruDock is Docker based development, staging and production environment for Drupal websites or PHP apps.
DruDock-Cli - BETA
CLI utility for DruDock
Install and setup Docker
- Mac : https://www.docker.com/docker-mac :
download
- NB: Currently limited to EDGE version for latest :cached performance gains. (https://download.docker.com/mac/edge/Docker.dmg)
- Windows : https://www.docker.com/docker-windows download
- Linux
Minimum Requirements :
- Host OS must have PHP ^5.6
Questions?
Ping me on Twitter
DOCS - @TODO
Read more - http://drudockcli.readthedocs.io/en/latest/
Install via .phar
- Install DruDock globally.
curl -O http://d1gem705zq3obi.cloudfront.net/drudock.phar && \
mv drudock.phar /usr/local/bin/drudock && \
chmod +x /usr/local/bin/drudock && \
drudock
Status
Initial Commands structure
Available commands:
help Displays help for a command
list Lists commands
app
app:bash [ab] Bash into container
app:build [ab] Fetch and build App containers and resources.
app:destroy [ad] Disable and delete APP and containers
app:exec [ae] Execute bespoke commands at :container
app:init [ai] Fetch and build DruDock containers
app:init:build [aib] Initialize environment and run build.
app:init:containers [aic] Create APP containers
app:open [ao] Open APP in default browser.
app:restart [ar] Restart current APP containers
app:ssh [assh] SSH into Apps PHP container.
app:start [start] Start current APP containers
app:status [as] Get current status of all containers
app:stop [stop] Stop current APP containers
app:update:config [aucg] Update APP config
app:update:containers [auct] Update APP containers
app:update:services [aus] Update APP services
behat
behat:cmd Run behat commands
behat:monitor Launch behat VNC viewer
behat:status Runs example command against running APP and current config
drush
drush:cc [dcc] Run drush cache clear
drush:cex [dcex] Run drush config-export
drush:cim [dcim] Run drush config-import
drush:dis [dd] Disable/Uninstall Drupal module
drush:en [de] Enable Drupal module
drush:init:config [dicg] Run drush config init
drush:rr [drr] Run drush registry rebuild
drush:uli [duli] Run Drush ULI
drush:updb [dudb] Run Drush updb
mysql
mysql:export Export .sql files
mysql:import Import .sql files
mysql:log Monitor mysql activity
nginx
nginx:flush Flush nginx cache
nginx:log Monitor nginx activity
nginx:proxy:start Start nginx proxy
nginx:proxy:stop Stop nginx proxy
nginx:reload Reload nginx activity
nginx:sethost Add nginx host to DD and host OS
prod
prod:update Rebuild app and deploy latest code into app containers
redis
redis:flush Flush Redis cache
redis:info Get Redis running config information
redis:monitor Monitor redis activity
redis:ping Ping Redis
self
self:about [about] About DruDock
self:update [su] Update Drudock version to latest released version.
Example Commands
--------------
:$ drudock app:init --appname defaultapp --type DEFAULT --dist Development --src New --apphost drudock.localhost --services "PHP,NGINX,MYSQL"
:$ cd my-great-app && drudock build:init
--------------
DEV Drupal 8
--------------
:$ drudock app:init:build --appname my-app --type D8 --dist Development --src New --apphost drudock.localhost --services "PHP,NGINX,MYSQL"
:$ cd my-drupal8-site && drudock build:init
--------------
DEV Drupal 7
--------------
:$ drudock app:init:build --appname my-app --type D7 --dist Development --src New --apphost drudock.localhost --services "PHP,NGINX,MYSQL"
:$ cd my-drupal7-site && drudock build:init
--------------
Next step :
- More utility commands and USER feedback For more information see roadmap
Known issues
- Its not finished - still in alpha and requires community testing and feedback.