Created
October 13, 2016 23:41
-
-
Save enzolutions/d5a7aa81b1859d6a78e1206770ce4a0a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Config Start -- | |
drupal generate:module --module="Santa Fe" --machine-name="santa_fe" --module-path="/modules/custom" --description="No, I can't speak French" --core="8.x" --package="France" --module-file --composer --dependencies="user" --no-interaction | |
drupal module:install santa_fe | |
drupal config:debug | |
drupal config:debug system.site | |
drupal config:export | |
drupal config:override system.site mail [email protected] | |
drupal config:debug system.site | |
drupal config:diff | |
drupal config:export:view | |
-- Config End -- | |
-- Cron Start -- | |
drupal cron:debug | |
drupal cron:execute search | |
drupal cron:execute search node | |
-- Cron End -- | |
-- Update Start -- | |
// Create example to add a update | |
drupal generate:update --module="santa_fe" --update-n="8001" --no-interaction | |
drupal generate:update --module="santa_fe" --update-n="8002" --no-interaction | |
drupal generate:update --module="santa_fe" --update-n="8003" --no-interaction | |
drupal update:debug | |
drupal update:execute santa_fe | |
drupal update:execute santa_fe 8002 | |
drupal generate:post:update --module="santa_fe" --post-update-name="first" --no-interaction | |
drupal update:debug | |
-- Update End -- | |
-- Create contet -- | |
drupal create:nodes article page --limit="3" --title-words="5" --no-interaction | |
drupal create:comments --limit=4 --no-interaction 7 | |
drupal create:terms --limit=6 --no-interaction | |
drupal create:users --limit=20 --no-interaction | |
drupal create:vocabularies --limit=10 --no-interaction | |
-- Create End -- | |
-- Chain Start -- | |
drupal chain:debug | |
drupal chain | |
drupal chain --file="/Users/enzo/.console/chain/quick-start-db.yml" --placeholder="db_type:mysql" --placeholder="db_host:127.0.0.1" --placeholder="db_name:sampledb2" --placeholder="db_user:root" --placeholder="db_pass:root" --placeholder="db_port:3306" | |
drupal chain --file="/Users/enzo/.console/chain/quick-start-db-env.yml" | |
export DATABASE_TYPE=mysql | |
export DATABASE_HOST=127.0.0.1 | |
export DATABASE_NAME=sampledb3 | |
export DATABASE_USER=root | |
export DATABASE_PASSWORD=root | |
export DATABASE_PORT=3306 | |
drupal chain --file="/Users/enzo/.console/chain/quick-start-db-env.yml" | |
-- End Chain -- | |
-- Database Start -- | |
drupal database:client default | |
drupal database:dump default | |
drupal database:drop | |
drupal database:connect | |
mysql -A --user=root --password=root --host=127.0.0.1 --port=3306 --database=manila < manila-2016-04-30-07-25-29.sql | |
drupal database:restore --file=manila-2016-04-30-07-25-29.sql | |
-- Database Stop -- | |
-- Generate Start -- | |
drupal generate:plugin:views:field --module="santa_fe" --class="SantaFeViewsPHPField" --title="Santa Fe Views PHP field" --description="My awesome santa_fe views PHP field plugin." --learning | |
drupal generate:plugin:ckeditorbutton --module="santa_fe" --class="AjiacoButton" --label="I love ajiaco" --plugin-id="AjiacoBtn" --button-name="AjiacoBtn" | |
-- Generate Stop -- | |
-- Image Start -- | |
drupal image:styles:debug | |
drupal image:styles:flush medium | |
-- Image Stop -- | |
-- Site Start -- | |
drupal site:statistics | |
drupal site:debug | |
drupal site:import:local | |
-- Site Stop | |
-- State Start -- | |
drupal state:debug | |
drupal state:debug update.last_check | |
drupal state:delete | |
drupal state:debug node.min_max_update_time | |
drupal state:debug system.cron_last | |
drupal state:override system.cron_last | |
-- State Stop | |
-- Others Start -- | |
drupal exec 'ls -lah' | |
drupal plugin:debug | |
drupal server | |
-- Others Stop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment