From 8d3184b1faa6ae8626e665d3c9d99335bb89b3d3 Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Thu, 9 May 2013 17:07:28 +0200 Subject: [PATCH] Instructions for running installer --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index a1344ad..6a16aa7 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ Note: The extension has only been tested with the `selenium2` Mink driver. ## Installation Simply [install SilverStripe through Composer](http://doc.silverstripe.org/framework/en/installation/composer). +Skip this step if adding the module to an existing project. composer create-project silverstripe/installer my-test-project 3.1.x-dev @@ -52,6 +53,11 @@ We need to generate a token so the browser and commandline calls can interact wi php framework/cli-script.php dev/generatesecuretoken path=mysite/_config/behat.yml +Now install the SilverStripe project as usual by opening it in a browser and following the instructions. +Protip: You can skip this step by using `[SS_DATABASE_CHOOSE_NAME]` in a global +[_ss_environment.php](http://doc.silverstripe.org/framework/en/topics/environment-management) +file one level above the webroot. + Unless you have [$_FILE_TO_URL_MAPPING](http://doc.silverstripe.org/framework/en/topics/commandline#configuration) set up, you also need to specify the URL for your webroot. Either add it to the existing `behat.yml` configuration file in your project root, or set is as an environment variable in your terminal session: