generated from coop-cloud/example
Update README for new abra
This commit is contained in:
parent
3e244e4390
commit
6aec124c38
12
README.md
12
README.md
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue