Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

FIX: Fixed details about version in composer create-project

  • Loading branch information...
commit 2d3c33d400c364c6ae4390f5c56de3acb01dd124 1 parent 9aa1c29
@sminnee sminnee authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/en/installation/composer.md
View
4 docs/en/installation/composer.md
@@ -24,13 +24,15 @@ You can then run Composer commands by calling `php composer.phar`. For example:
Composer can create a new project for you, using the installer as a template. To do so, run this:
- php composer.phar create-project silverstripe/installer ./my/website/folder
+ php composer.phar create-project silverstripe/installer ./my/website/folder 3.0.2.1
`./my/website/folder` should be the root directory where your site will live. For example, on OS X, you might use a subdirectory of `~/Sites`.
As long as your web server is up and running, this will get all the code that you need. Now visit the site in your web
browser, and the installation process will be completed.
+**Note:** The version, 3.0.2.1, is the first version that we've released that has Composer support. Shortly, this will be replaced with 3.0.3. Note that [a planned improvement to Composer](https://github.com/composer/composer/issues/957) would make it choose the latest stable version by default; once this has happened, we will update this document.
+
## Adding modules to your project
Composer isn't only used to download SilverStripe CMS: it can also be used to manage all the modules. In the root of your project, there will be a file called `composer.json`. If you open it up, the contents will look something like this:
Please sign in to comment.
Something went wrong with that request. Please try again.