0.1.0 • Published 7 years ago
generator-it-drupal-8 v0.1.0
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-8Then generate your new project:
yo it-drupal-8Homestead Setup
Edit your
homestead.ymlto add the new site & databasesites: - map: projectname.test to: /home/vagrant/Code/example/projectnamedatabases: - projectname_drupalBackup nginx configs for other homestead sites.
vagrant sshinto homestead and run this command:sudo cp /etc/nginx/sites-available/\* /etc/nginx/sites-backupor if you have installed our bash aliases, just run
backup.Run
vagrant reload --provisionfrom your homestead directory Restore nginx configs.vagrant sshinto homestead and run this command:sudo cp /etc/nginx/sites-backup/\* /etc/nginx/sites-availableor 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.