From 0fd6b8eaca161f37b9b3fe0d60e6f1e82e9a83d7 Mon Sep 17 00:00:00 2001 From: Cam Findlay Date: Wed, 18 Feb 2015 11:13:02 +1300 Subject: [PATCH] DOCS Mention the option of Environment files for WAMP users Once you get a few sites under your belt most devs would likely turn to using environment files to names DB credentials. This introduces this a bit earlier to get them used to the simple idea of an environment file. Eventually I'd like to rewrite the installer to generate this over storing in the _config.php. --- docs/en/00_Getting_Started/01_Installation/03_Windows.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/en/00_Getting_Started/01_Installation/03_Windows.md b/docs/en/00_Getting_Started/01_Installation/03_Windows.md index cc59f5733..ba685e489 100644 --- a/docs/en/00_Getting_Started/01_Installation/03_Windows.md +++ b/docs/en/00_Getting_Started/01_Installation/03_Windows.md @@ -40,8 +40,10 @@ $ composer create-project silverstripe/installer ./silverstripe * Unpack the archive into `C:\wamp\www` * Rename the unpacked directory from `C:\wamp\www\silverstripe-vX.X.X` to `C:\wamp\www\silverstripe` -### Install and configure -* Visit `http://localhost/silverstripe` - you will see SilverStripe's installation screen. +## Install and configure +* Option 1: Environment file - Set up a file named _ss_environment.php either in the webroot or a directory above webroot and setup as per the [Environment Management process](/getting_started/environment_management). + +* Option 2: Installer - Visit `http://localhost/silverstripe` - you will see SilverStripe's installation screen. * You should be able to click "Install SilverStripe" and the installer will do its thing. It takes a minute or two. * Once the installer has finished, visit `http://localhost/silverstripe`. You should see your new SilverStripe site's home page. @@ -61,4 +63,4 @@ alternatives for incoming connection". Make sure that it is de-selected. Right clicked on the installation folder and go to Permissions > Security > Users > Advanced and give the user full control. -3. If you find you are having issues with URL rewriting. Remove the index.php file that is bundled with SilverStripe. As we are using Apache web server's URL rewriting this file is not required (and in fact can result in problems when using apache 2.4+ as in the latest versions of WAMP). The other option is to enable the mod_access_compat module for apache which improves compatibility of newer versions of Apache with SilverStripe. \ No newline at end of file +3. If you find you are having issues with URL rewriting. Remove the index.php file that is bundled with SilverStripe. As we are using Apache web server's URL rewriting this file is not required (and in fact can result in problems when using apache 2.4+ as in the latest versions of WAMP). The other option is to enable the mod_access_compat module for apache which improves compatibility of newer versions of Apache with SilverStripe.