Another README pass

This commit is contained in:
Luke Murphy 2020-04-30 12:23:18 +02:00
parent 9efc3d9dc8
commit 1abcb119dd
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 7 additions and 3 deletions

View File

@ -6,9 +6,11 @@
> https://traefik.swarm.autonomic.zone
## Local
## Development
```bash
$ python3 -m venv .venv && source .venv/bin/activate
$ pip install -U pip setuptools docker-compose
$ docker-compose up
```
@ -30,9 +32,9 @@ $ curl -H Host:whoami.localhost http://127.0.0.1
Our [drone.autonomic.zone](https://drone.autonomic.zone/autonomic-cooperative/traefik/) configuration automatically deploys.
Otherwise, you can need to follow 3 steps.
To do it manually, you need to follow 3 steps.
1. Create the remote docker context locally
1. Create the remote docker context locally.
```bash
$ cp .envrc.sample .envrc
@ -51,6 +53,8 @@ $ docker stack deploy \
traefik
```
You can track logs via `docker service logs traefik_traefik`
3. Switch back to your local context.
```