Instructions for running installer

This commit is contained in:
Ingo Schommer 2013-05-09 17:07:28 +02:00
parent bc455762f5
commit 8d3184b1fa

View File

@ -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: