Add platform configuration for PHP version and reference PHP 7.1 in readme

This commit is contained in:
Robbie Averill 2019-02-21 11:11:13 +07:00
parent 8f42b93713
commit eaea536819
2 changed files with 6 additions and 1 deletions

2
.platform.yml Normal file
View File

@ -0,0 +1,2 @@
php_settings:
version: 7.1

View File

@ -30,7 +30,8 @@ For adding functionality or editing the style of the documentation, see the
To set up a local instance of [doc.silverstripe.org](https://github.com/SpiritLevel/doc.silverstripe.org):
* Install [Composer](https://docs.silverstripe.org/en/getting_started/composer).
* Ensure you are running the required PHP version (see .platform.yml)
* Install [Composer](https://docs.silverstripe.org/en/getting_started/composer)
* Install [sake](https://docs.silverstripe.org/en/developer_guides/cli).
* Clone this repository to a LAMP server. For example, the shell command
```
@ -118,3 +119,5 @@ versions that are not stable.
## Deployment
Deployment is via the [SilverStripe Platform](https://www.silverstripe.com/platform/) deployment tool and uses [StackShare](http://www.silverstripe.com/platform/technical/).
For platform configuration, see .platform.yml.