Update README for new abra

This commit is contained in:
3wc 2020-12-23 21:11:57 +02:00
parent 3e244e4390
commit 6aec124c38
1 changed files with 5 additions and 7 deletions

View File

@ -6,15 +6,13 @@ Custom HTML website, served using Nginx.
1. Set up Docker Swarm and [`abra`] 1. Set up Docker Swarm and [`abra`]
2. Deploy [`compose-stacks/traefik`] 2. Deploy [`compose-stacks/traefik`]
3. `git clone https://git.autonomic.zone/compose-stacks/custom-html.git && cd custom-html` 3. `abra app new custom-html`
3. `cp .envrc.sample .envrc` 4. `abra app YOURAPPDOMAIN config` - be sure to change `$DOMAIN` to something that resolves to
4. Edit `.envrc` - be sure to change `DOMAIN` to something that resolves to
your Docker swarm box your Docker swarm box
5. `direnv allow` (or `. .envrc`) 5. `abra app YOURAPPDOMAIN deploy`
6. `abra deploy` 6. Copy your files to the container, using something like
7. Copy your files to the container, using something like
``` ```
abra cp index.html app:/usr/share/nginx/html abra app YOURAPPDOMAIN cp index.html app:/usr/share/nginx/html
``` ```
[`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra [`abra`]: https://git.autonomic.zone/autonomic-cooperative/abra