Show Menu

drucker Cheat Sheet by

Drucker cheatsheet
drupal     drucker     ovh

Getting started

# Clone the app
$ git clone <url of the project>
$ cd <name of the project>
# Initialize the Drucker Git submodule
$ git submodule init
$ git submodule update
# Install all the dependencies
$ cd drucker
$ source load-env
$ drucker install
# Run the stack
$ drucker start
 

Drucker commands

drucker init
Fresh install of Drupal
drucker inst­all
Install all deps
drucker star­t|s­top
Start/Stop the stack
drucker logs­|db­log
Show the logs
drucker sql-­bac­kup
Backup the SQL DB
drucker sql-­res­tore
Restore a SQL backup
drush
Launch Drush
comp­oser
Launch Composer
node, npm, yarn, gulp
Launch Node & utilities
 

Config workflow

For a successful config workflow, follow this:
1. drush cex : export your config
2. commit your changes
3. pull/merge from the remote
4. drush cim : import the brand new config
5. push

Commit convention

feat
A new feature
fix
A bug fix
docs
Docume­ntation only changes
style
Changes that do not affect the meaning of the code (white­-space, format­ting, missing semi-c­olons, etc)
refa­ctor
A code change that neither fixes a bug nor adds a feature
perf
A code change that improves perfor­mance
test
Adding missing tests or correcting existing tests
build
Changes that affect the build system or external depend­encies
ci
Changes to our CI config­uration files and scripts
chore
Other changes that don't modify src or test files
revert
Reverts a previous commit
<ty­pe>­(<s­cop­e>): <su­bje­ct>
<BLANK LINE>
<bo­dy>
<BLANK LINE>
<fo­ote­r>

More infos.: https:­//g­ist.gi­thu­b.c­om/­ste­phe­npa­ris­h/9­941­e89­d80­e2b­c58a153

Download the drucker Cheat Sheet

1 Page
//media.cheatography.com/storage/thumb/jean-philippe-blary_drucker.750.jpg

PDF (recommended)

Alternative Downloads

Share This Cheat Sheet!

 

Comments

No comments yet. Add yours below!

Add a Comment

Your Comment

Please enter your name.

    Please enter your email address

      Please enter your Comment.

          Related Cheat Sheets

          Modules and Themes Listed in Drupal User's Guide Cheat Sheet
          Drupal 6 Theme Variables Cheat Sheet
          Drupal Theme Pre-launch Cheat Sheet