9 :Author: Antonio Ospite <ao2@ao2.it>
13 :Manual group: General Commands Manual
18 *drin* <options> [sub-command]
23 Helper commands to create and install new Drupal projects.
25 When setting up a new Drupal project with drupal-composer/drupal-project drush
26 and drupal-console are not available yet and some repetitive tasks can use
27 a nicer command line interface.
29 These scripts are especially useful when setting up projects in user web
32 [1] http://httpd.apache.org/docs/current/howto/public_html.html
44 Available sub-commands:
46 ``new`` `[-h|--help]` `<destdir>` `[composer options (e.g. --devel)]`
47 Create a new Drupal project in the `destdir` directory.
49 ``bootstrap`` `[--devel|--overwrite-profile|-h|--help]`
50 Bootstrap a Drupal project, using settings from a `bootstrap.conf` file.
52 ``clean`` `[-h|--help]`
53 Cleanup the project, removing all the installed files.
55 ``create-profile`` `[-h|--help]` `<title>` `<machine_name>`
56 Create an installation profile from the installed project.
62 Create and install a new Drupal project:
67 drin new drupal_test_site
69 $EDITOR bootstrap.conf
70 drin bootstrap --devel
73 Create an installation profile from the currently installed project:
77 drin create-profile "Test Profile" test_profile
80 Clean and rebuild the whole project to verify that installing from scratch works:
91 * drupal-composer/drupal-project: https://github.com/drupal-composer/drupal-project
92 * drush: https://github.com/drush-ops/drush
93 * drupal-console: https://github.com/hechoendrupal/drupal-console
95 .. _drupal-composer/drupal-project: https://github.com/drupal-composer/drupal-project
96 .. _drush: https://github.com/drush-ops/drush
97 .. _drupal-console: https://github.com/hechoendrupal/drupal-console