generator-it-drupal-8

0.1.0 • Public • Published

generator-it-drupal-8 NPM version Build Status Dependency Status Coverage percentage

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 & database

    sites:
      - 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.

License

© Irish Titan

Package Sidebar

Install

npm i generator-it-drupal-8

Weekly Downloads

5

Version

0.1.0

License

none

Unpacked Size

9.54 MB

Total Files

81

Last publish

Collaborators

  • andrew.lancaster
  • jhintze