====== drin ====== ----------------- Drupal init tools ----------------- :Author: Antonio Ospite :Date: 2017-06-20 :Copyright: GPLv2+ :Manual section: 1 :Manual group: General Commands Manual SYNOPSIS ======== *drin* [sub-command] DESCRIPTION =========== Helper commands to create and install new Drupal projects. When setting up a new Drupal project with drupal-composer/drupal-project drush and drupal-console are not available yet and some repetitive tasks can use a nicer command line interface. These scripts are especially useful when setting up projects in user web directories[1]. [1] http://httpd.apache.org/docs/current/howto/public_html.html OPTIONS ======= Available options: **-h**, **--help** this help Available sub-commands: ``new`` `[-h|--help]` `` `[composer options (e.g. --devel)]` Create a new Drupal project in the `destdir` directory. ``bootstrap`` `[--devel|-h|--help]"` Bootstrap a Drupal project, using settings from a `bootstrap.conf` file. ``clean`` `[-h|--help]` Cleanup the project, removing all the installed files. ``create-profile`` `[-h|--help]` `` `<machine_name>` Create an installation profile from the installed project. EXAMPLES OF USE =============== Create and install a new Drupal project: :: cd ~/public_html drin new drupal_test_site cd drupal_test_site $EDITOR bootstrap.conf drin bootstrap --devel Create an installation profile from the currently installed project: :: drin create-profile "Test Profile" test_profile Clean and rebuild the whole project to verify that installing from scratch works: :: drin clean drin bootstrap SEE ALSO ======== * drupal-composer/drupal-project: https://github.com/drupal-composer/drupal-project * drush: https://github.com/drush-ops/drush * drupal-console: https://github.com/hechoendrupal/drupal-console .. _drupal-composer/drupal-project: https://github.com/drupal-composer/drupal-project .. _drush: https://github.com/drush-ops/drush .. _drupal-console: https://github.com/hechoendrupal/drupal-console BUGS ==== None known.