An NPM package used to auto deploy a Bootstrap 3 Sub-theme to a Drupal 8 site.
This is a bash script built to speed up the deployment for a Bootstrap 3 sub-theme deployment on a Drupal 8 instance. The project has been developed to help a friend with their needs but is open for all to enjoy and contribute to. Please feel free to raise an issue if you have any ideas to improve the AutoSubtheme script.
Install d8b3 as globally using the following command:
npm install -g d8b3
Navigate to the root of your drupal 8 site (e.g /var/www/html/[sitename]/drupal) and run the following command:
d8b3
Answer the series of questions and your sub-theme will be created.
On successfull execution of the d8b3 command. You should have the following file structure.
web
└───themes
│ │
│ └───contrib
│ │ └───bootstrap
│ └───custom
│ └───d8b3_bootstrap_subtheme
Please ensure that you are running the latest stable version of Drupal 8
Please ensure that you are running a version of wget 1.20.3 or higher
Please use the following commands below to install wget depending on your OS of choice.
MacOs install wget
brew install wget
Linux install wget
apt-get install wget
The current version of this script is using https://ftp.drupal.org/files/projects/bootstrap-8.x-3.21.tar.gz
for its Bootstrap 3 version.
- Andrew De Torres - @andrewdetorres.
Thanks to the following contributors for their support.
- Reece Benson - @reecebenson.
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details