generator-it-drupal-8
v0.1.0
Published
>
Downloads
62
Readme
generator-it-drupal-8
Generator Installation & Setup
First, install Yeoman and generator-it-drupal-8 using npm (we assume you have pre-installed node.js).
npm install -g yo
npm install -g generator-it-drupal-8
Then generate your new project:
yo it-drupal-8
Homestead Setup
Edit your
homestead.yml
to add the new site & databasesites: - map: projectname.test to: /home/vagrant/Code/example/projectname
databases: - projectname_drupal
Backup nginx configs for other homestead sites.
vagrant ssh
into homestead and run this command:sudo cp /etc/nginx/sites-available/\* /etc/nginx/sites-backup
or if you have installed our bash aliases, just run
backup
.Run
vagrant reload --provision
from your homestead directory Restore nginx configs.vagrant ssh
into homestead and run this command:sudo cp /etc/nginx/sites-backup/\* /etc/nginx/sites-available
or if you have installed our bash aliases, just run
restore-backup
.Navigate to your new site (ie. projectname.test) and setup Drupal. For instructions, refer to the "Basic Drupal Setup" section of Start a New Drupal 8 Project.