mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
FIX: Fixed details about version in composer create-project
This commit is contained in:
parent
9aa1c29059
commit
2d3c33d400
@ -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:
|
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`.
|
`./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
|
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.
|
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
|
## 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:
|
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:
|
||||||
|
Loading…
Reference in New Issue
Block a user