Update installation docs, release new installer
[ci skip]
This commit is contained in:
29
README.md
29
README.md
@ -19,12 +19,41 @@ See [CHANGELOG.md](./CHANGELOG.md).
|
||||
|
||||
## Install
|
||||
|
||||
Install the latest stable release:
|
||||
|
||||
```sh
|
||||
curl https://install.abra.autonomic.zone | bash
|
||||
```
|
||||
|
||||
or the bleeding-edge development version:
|
||||
|
||||
```sh
|
||||
curl https://install.abra.autonomic.zone | bash -s -- --dev
|
||||
```
|
||||
|
||||
The source for this script is [here](./installer/installer).
|
||||
|
||||
## Update
|
||||
|
||||
Run `abra upgrade` to automatically download and install the latest release
|
||||
version.
|
||||
|
||||
To update the development version, run
|
||||
|
||||
```sh
|
||||
cd ~/.abra/src
|
||||
git pull
|
||||
```
|
||||
|
||||
## Hack
|
||||
|
||||
It's written in Bash! Just open up the `abra` file and start hacking. Then you can run it in place with `./abra`. The command-line interface is generated via [docopt](http://docopt.org/). If you add arguments then you need to run `make docopt` ro regenerate the parser.
|
||||
|
||||
Please remember to update the [CHANGELOG](./CHANGELOG) when you make a change.
|
||||
|
||||
To deploy a new version of the installer scripts:
|
||||
|
||||
```sh
|
||||
cd installer
|
||||
DOCKER_CONTEXT=swarm.autonomic.zone docker stack deploy -c compose.yml abra-installer-script
|
||||
```
|
||||
|
Reference in New Issue
Block a user