more focus on abra

This commit is contained in:
2022-02-02 21:27:05 +01:00
parent 6625fd521f
commit 8dabfac897
6 changed files with 33 additions and 2 deletions

View File

@ -66,6 +66,10 @@ Finally, with an app and deployment environment, we need a tool to read the reci
## Deploy your first app
> - TODO: explain how you can add an existing server with `abra`
> - TODO: explain how to you create a server with `abra`
> - TODO: explain what to keep in mind with a server, port 80/44, traefik proxy, docker runtime, etc.
In order to deploy an app you need two things:
1. a server (e.g. [Hetzner VPS](https://www.hetzner.com/cloud)), with 1. SSH access and 2. a public IP address
@ -90,7 +94,9 @@ Where `116.203.211.204` can be replaced with the IP address of your server.
### Bootstrap `abra`
You have two options for setting up your command-line client. You can install `abra` on your local development machine or remotely on the actual server. Please see
> TODO: this could come eariler, this could be the first step? You can create servers/manage DNS now with `abra`...
You have two options for setting up your command-line client. You can install `abra` on your local development machine or remotely on the actual server. Please see
Once your DNS and Docker daemon are up, you can install [`abra`](https://git.coopcloud.tech/coop-cloud/abra) locally on your developer machine and hook it up to your server.
@ -135,7 +141,7 @@ Where `example.com` is replaced with your server DNS name.
abra server add -p example.com username 2222
```
The `-p` or `--provision` flag means that abra will initialise the [new single-host swarm](https://docs.docker.com/engine/swarm/key-concepts/) on your server.
The `-p` or `--provision` flag means that abra will initialise the [new single-host swarm](https://docs.docker.com/engine/swarm/key-concepts/) on your server.
You will now have a new `~/.abra/` folder on your local file system which stores all the configuration of your Co-op Cloud instance. You can easily share this as a git repository with others.