From 06d3bdc3e637c644c29b4c14d7419e827376fcea Mon Sep 17 00:00:00 2001 From: Michael Fielding Date: Sat, 5 Nov 2016 17:05:19 +1300 Subject: [PATCH] Update README Composer instructions --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6c49e84..a551bd5 100644 --- a/README.md +++ b/README.md @@ -10,22 +10,26 @@ Kohana wrapper module for the Amazon AWS PHP SDK. #### Install the module +Replace xyz in the following with the Github author for your fork of this module. + ``` -git submodule add git@github.com:dexamped/kohana-aws.git modules/kohana-aws +git submodule add git@github.com:xyz/kohana-aws.git modules/kohana-aws git submodule update --init --recursive ``` #### Load dependencies -We have to install vendor's dependencies by running `composer install` +Ensure Composer is available for your PHP project. + +Install the AWS SDK by running `composer require` from your project's root directory. ``` -composer install --working-dir=modules/kohana-aws/vendor/aws-sdk-php/ +composer require aws/aws-sdk-php ``` #### Configuration -Edit `application/bootstrap.php` and add the module: +Edit `application/bootstrap.php` and add this module: ``` Kohana::modules(array( @@ -35,7 +39,7 @@ Kohana::modules(array( )); ``` -Copy the `modules/kohana-aws/config/aws.php` to `APPPATH/config/aws.php` and setup your config. +Copy `modules/kohana-aws/config/aws.php` to `APPPATH/config/aws.php` and setup your config. ## Usage