Cheatography
https://cheatography.com
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 commandsdrucker init | Fresh install of Drupal | drucker install | Install all deps | drucker start|stop | Start/Stop the stack | drucker logs|dblog | Show the logs | drucker sql-backup | Backup the SQL DB | drucker sql-restore | Restore a SQL backup | drush | Launch Drush | composer | Launch Composer | node, npm, yarn, gulp | Launch Node & utilities |
| | Config workflowFor 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 conventionfeat | A new feature | fix | A bug fix | docs | Documentation only changes | style | Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc) | refactor | A code change that neither fixes a bug nor adds a feature | perf | A code change that improves performance | test | Adding missing tests or correcting existing tests | build | Changes that affect the build system or external dependencies | ci | Changes to our CI configuration files and scripts | chore | Other changes that don't modify src or test files | revert | Reverts a previous commit |
|
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets