Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anavarre/drupal-8-tools
Spin up a D8 site in seconds. Audit your D7 module and get a scaffolding for a port to D8. And more.
https://github.com/anavarre/drupal-8-tools
bash cli drupal
Last synced: about 2 months ago
JSON representation
Spin up a D8 site in seconds. Audit your D7 module and get a scaffolding for a port to D8. And more.
- Host: GitHub
- URL: https://github.com/anavarre/drupal-8-tools
- Owner: anavarre
- License: gpl-3.0
- Archived: true
- Created: 2011-03-13T15:21:35.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2016-04-19T12:47:59.000Z (over 8 years ago)
- Last Synced: 2024-08-05T22:41:44.562Z (5 months ago)
- Topics: bash, cli, drupal
- Language: Shell
- Homepage:
- Size: 229 KB
- Stars: 13
- Watchers: 2
- Forks: 10
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Audit: audit/README.md
Awesome Lists containing this project
README
Drupal 8 Tools
==============This is a placeholder for simple D8 goodies that will hopefully help you speed up recurring tasks.
Notes
------ Those Shell scripts have been tested against **Ubuntu 12.04 LTS** (Precise Pangolin) and **14.04 LTS** (Trusty Tahr). If you're running a non LTS release, use at your own risk.
- Make sure all scripts are executable (**chmod +x script.sh**)
- It's safer to run those scripts from within a container or a VM (e.g. Docker or Vagrant)Recommended usage
-----------------Add the following bash aliases in your **.bash_aliases** file:
alias saudit='sudo /path/to/drupal-8-tools/audit/system_audit.sh'
alias maudit='sudo /path/to/drupal-8-tools/audit/module_audit.sh'
alias install='sudo /path/to/drupal-8-tools/provisioning/install.sh'
alias delete='sudo /path/to/drupal-8-tools/provisioning/delete.sh'
alias update='sudo /path/to/drupal-8-tools/misc/core-update.sh'
alias module='sudo /path/to/drupal-8-tools/scaffolding/module.sh'Apply changes without rebooting:
$ . ~/.bash_aliases
To provision a Drupal 8 site, invoke the _install.sh_ or _delete.sh_ script directly and give it a sitename:
$ install/delete {sitename}
If you want a module scaffolding, invoke the _module.sh_ script:
$ module
Want to quickly try and update Drupal (there be dragons!)? Run:
$ update
To audit your system against Drupal 8 requirements, run:
$ saudit
If you wish to upgrade a Drupal 7 module to Drupal 8, there's also a script for that! Run the below command and enter the full Unix path to any D7 module to audit:
$ maudit
You might also want to run a quick system audit to make sure your LAMP stack is compatible with Drupal 8's minimum requirements. Simply run:
$ audit