0.1.0 • Published 5 years ago

generator-it-drupal-8 v0.1.0

Weekly downloads
21
License
-
Repository
bitbucket
Last release
5 years ago

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

0.1.0

5 years ago

0.0.24

5 years ago

0.0.23

5 years ago

0.0.22

5 years ago

0.0.21

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago