Update installation docs, release new installer

[ci skip]
This commit is contained in:
3wc
2021-03-15 10:34:38 +02:00
parent 62b447d61f
commit 7511b25e47
3 changed files with 31 additions and 2 deletions

View File

@ -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
```