mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-16 12:35:04 +02:00
add documentation for installing via composer
This commit is contained in:
parent
cebced4c9b
commit
9277bf7889
16
README.md
16
README.md
|
@ -9,6 +9,22 @@ It will get your application to a safe harbor.
|
||||||
You can instruct Magallanes to deploy your code to all the servers you want (via rsync over ssh),
|
You can instruct Magallanes to deploy your code to all the servers you want (via rsync over ssh),
|
||||||
and run tasks for that freshly deployed code.
|
and run tasks for that freshly deployed code.
|
||||||
|
|
||||||
|
### How can I install it via composer? ###
|
||||||
|
|
||||||
|
Simply add the following dependency to your project’s composer.json file:
|
||||||
|
|
||||||
|
```js
|
||||||
|
"require": {
|
||||||
|
// ...
|
||||||
|
"andres-montanez/magallanes": "dev-master"
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
```
|
||||||
|
Now tell composer to download the bundle by running the command:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ php composer.phar update andres-montanez/magallanes
|
||||||
|
```
|
||||||
|
|
||||||
### Can you give me some examples/ideas? ###
|
### Can you give me some examples/ideas? ###
|
||||||
**Sure!**
|
**Sure!**
|
||||||
|
|
Loading…
Reference in a new issue