Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Instructions to generate a custom profile don't work #1682

Closed
webbj74 opened this issue Jun 16, 2017 · 1 comment
Closed

Instructions to generate a custom profile don't work #1682

webbj74 opened this issue Jun 16, 2017 · 1 comment
Assignees

Comments

@webbj74
Copy link

webbj74 commented Jun 16, 2017

https://github.com/acquia/blt/blob/8.8.4/template/blt/project.yml states:

  profile:
    # You can generate a custom profile by running '../vendor/bin/drupal generate:profile' from the docroot.

But this does not appear to work presently.

My system information:

  • Operating system type: OSX
  • Operating system version: 10.12.5
  • BLT version: 8.8.4

Output of blt doctor:

$ blt doctor
blt > doctor:
Changed current directory to /Users/jonathan.webb/.composer
+----------------------+----------------------------------------------------------------------------------+
| Property             | Value                                                                            |
+----------------------+----------------------------------------------------------------------------------+
| %paths               |                                                                                  |
|  - %root             | /Users/jonathan.webb/src/notificare/docroot                                      |
|  - %site             | sites/default                                                                    |
|  - %modules          | modules                                                                          |
|  - %themes           | themes                                                                           |
|  - %config-sync      | /Users/jonathan.webb/src/notificare/config/default                               |
|  - %files            | sites/default/files                                                              |
|  - %private          | /Users/jonathan.webb/src/notificare/files-private                                |
|  - %temp             | /tmp                                                                             |
| admin-theme          | seven                                                                            |
| blt-version          | 8.8.4                                                                            |
| bootstrap            | Successful                                                                       |
| config-sync          | /Users/jonathan.webb/src/notificare/config/default                               |
| db-driver            | mysql                                                                            |
| db-hostname          | mysql.notificare.docker.localhost                                                |
| db-name              | drupal                                                                           |
| db-password          | drupal                                                                           |
| db-port              | 8171                                                                             |
| db-status            | Connected                                                                        |
| db-username          | drupal                                                                           |
| drupal-settings-file | sites/default/settings.php                                                       |
| drupal-version       | 8.3.3                                                                            |
| drush-alias-files    | /Users/jonathan.webb/.drush/aliases.drushrc.php                                  |
|                      | /Users/jonathan.webb/.drush/briareus.aliases.drushrc.php                         |
|                      | /Users/jonathan.webb/.drush/d7.aliases.drushrc.php                               |
|                      | /Users/jonathan.webb/.drush/d7sitereviewtest.aliases.drushrc.php                 |
|                      | /Users/jonathan.webb/.drush/d8support.aliases.drushrc.php                        |
|                      | /Users/jonathan.webb/.drush/demolets.aliases.drushrc.php                         |
|                      | /Users/jonathan.webb/.drush/devcloud2.aliases.drushrc.php                        |
|                      | /Users/jonathan.webb/.drush/eejwebbd8.aliases.drushrc.php                        |
|                      | /Users/jonathan.webb/.drush/error.aliases.drushrc.php                            |
|                      | /Users/jonathan.webb/.drush/jwebb.aliases.drushrc.php                            |
|                      | /Users/jonathan.webb/.drush/notificare.aliases.drushrc.php                       |
|                      | /Users/jonathan.webb/.drush/purge.aliases.drushrc.php                            |
|                      | /Users/jonathan.webb/.drush/radassbehat7.aliases.drushrc.php                     |
|                      | /Users/jonathan.webb/.drush/radassbehat8.aliases.drushrc.php                     |
|                      | /Users/jonathan.webb/.drush/services7.aliases.drushrc.php                        |
|                      | /Users/jonathan.webb/.drush/supporta.aliases.drushrc.php                         |
|                      | /Users/jonathan.webb/.drush/tac2797.aliases.drushrc.php                          |
|                      | /Users/jonathan.webb/.drush/tac3899.aliases.drushrc.php                          |
|                      | /Users/jonathan.webb/.drush/tac853.aliases.drushrc.php                           |
|                      | /Users/jonathan.webb/.drush/thrifty.aliases.drushrc.php                          |
|                      | /Users/jonathan.webb/.drush/webbj2012ft.aliases.drushrc.php                      |
|                      | /Users/jonathan.webb/src/notificare/docroot/../drush/site-aliases/aliases.drushr |
|                      | c.php                                                                            |
|                      | /Users/jonathan.webb/src/notificare/docroot/../drush/site-aliases/example.acsf.a |
|                      | liases.drushrc.php                                                               |
|                      | /Users/jonathan.webb/src/notificare/docroot/../drush/site-aliases/example.local. |
|                      | aliases.drushrc.php                                                              |
|                      | /Users/jonathan.webb/src/notificare/docroot/../drush/site-aliases/local.aliases. |
|                      | drushrc.php                                                                      |
|                      | /Users/jonathan.webb/src/notificare/docroot/../drush/site-aliases/notificare.ali |
|                      | ases.drushrc.php                                                                 |
| drush-conf           | /Users/jonathan.webb/src/notificare/drush/drushrc.php                            |
|                      | /Users/jonathan.webb/.drush/drushrc.php                                          |
| drush-script         | /Users/jonathan.webb/src/notificare/vendor/drush/drush/drush.php                 |
| drush-temp           | /tmp                                                                             |
| drush-version        | 8.1.12                                                                           |
| files                | sites/default/files                                                              |
| install-profile      | lightning                                                                        |
| local-drushrc        | /Users/jonathan.webb/src/notificare/docroot/sites/default/local.drushrc.php      |
| local-settings       | /Users/jonathan.webb/src/notificare/docroot/sites/default/settings/local.setting |
|                      | s.php                                                                            |
| modules              | modules                                                                          |
| php-bin              | /Users/jonathan.webb/.phpenv/versions/5.6.27_4/bin/php                           |
| php-conf             | /usr/local/etc/php/5.6/php.ini                                                   |
|                      | /Users/jonathan.webb/.drush/drush.ini                                            |
| php-os               | Darwin                                                                           |
| private              | /Users/jonathan.webb/src/notificare/files-private                                |
| root                 | /Users/jonathan.webb/src/notificare/docroot                                      |
| site                 | sites/default                                                                    |
| temp                 | /tmp                                                                             |
| theme                | bartik                                                                           |
| themes               | themes                                                                           |
| uri                  | default                                                                          |
| user                 |                                                                                  |
+----------------------+----------------------------------------------------------------------------------+
+--------------------------+---------------------------------------------------------------------------------+
| Check                    | Outcome                                                                         |
+--------------------------+---------------------------------------------------------------------------------+
| checkDocrootExists       | Found docroot.                                                                  |
| checkCoreExists          | Drupal core exists                                                              |
| checkSettingsFile        | BLT settings are included in settings file.                                     |
| checkLocalSettingsFile   | Found your local settings file.                                                 |
| checkLocalDrushFile      | Found your local drush settings file.                                           |
| checkUri                 | Site URI is not set                                                             |
|                          |                                                                                 |
|                          | Is $options['uri'] set correctly in                                             |
|                          | /Users/jonathan.webb/src/notificare/docroot/sites/default/local.drushrc.php?    |
|                          |                                                                                 |
| checkFileSystem:%files   | Public files directory is writable.                                             |
| checkFileSystem:%private | Private files directory is writable.                                            |
| checkFileSystem:%temp    | Temporary files directory is writable.                                          |
| checkDbConnection        | Connected to database.                                                          |
| checkDrupalBootstrapped  | Bootstrapped Drupal via drush.                                                  |
| checkDrupalInstalled     | Drupal is installed.                                                            |
| checkCaching:page        | Drupal cache is disabled.                                                       |
| checkCaching:css         | CSS preprocessing is disabled.                                                  |
| checkCaching:js          | JS preprocessing is disabled.                                                   |
| checkNvmExists           | NVM does not exist.                                                             |
|                          |                                                                                 |
|                          | It is recommended that you use NVM to manage multiple versions of NodeJS on one |
|                          | machine.                                                                        |
|                          | Instructions for installing NVM can be found at:                                |
|                          |   https://github.com/creationix/nvm#installation                                |
| checkCiConfig            | Git remotes are set in project.yml.                                             |
| checkComposer:require    | acquia/blt is in composer.json's require object.                                |
| checkComposer:plugins    | hirak/prestissimo plugin for composer is installed.                             |
| checkBehat:exists        | Behat local settings file exists.                                               |
| checkBehat:uri           | base_url in tests/behat/local.yml does not match the site URI.                  |
|                          |   Behat base_url is set to "http://notificare.docker.localhost:8000".           |
|                          |   Drush site URI is set to default.                                             |
| checkProjectYml:keys     | project.yml has no deprecated keys.                                             |
| checkPhpDateTimezone     | PHP setting for date.timezone is correctly set                                  |
+--------------------------+---------------------------------------------------------------------------------+

BUILD FINISHED; 4.9673 seconds

When I run ../vendor/bin/drupal generate:profile from the docroot.

I get the following output:

$ ../vendor/bin/drupal generate:profile
-bash: ../vendor/bin/drupal: No such file or directory

And I expected this to happen:

I expected the skeleton files for a custom profile to be created.

@grasmash
Copy link
Contributor

Yup. We don't ship Drupal console by default any more. You'd need to require it yourself first. Docs need to be updated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants