Skip to content

Commit bea5342

Browse files
committed
Migrate to docker-compose
1 parent 214147c commit bea5342

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ This is the default implementation of the [cloudpipe authentication backend prot
99
## Getting Started
1010

1111
1. Install [Docker](https://docs.docker.com/installation/mac/) on your system.
12-
2. Install [fig](http://www.fig.sh/install.html).
12+
2. Install [Compose](https://docs.docker.com/compose/install/).
1313
3. Use `script/genkeys` to generate self-signed TLS keypairs in `certificates/`.
14-
4. Run `fig build && fig up -d` to build and launch everything locally.
14+
4. Run `docker-compose build && docker-compose up -d` to build and launch everything locally.
1515

1616
To run the tests, use `script/test`. You can also use `script/mongo` to connect to your local MongoDB database.
1717

fig.yml docker-compose.yml

File renamed without changes.

script/test

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ set -o errexit
55
ROOT=$(dirname $0)/..
66
cd ${ROOT}
77

8-
fig build >/dev/null 2>&1 || echo "fig build failed!"
8+
docker-compose build >/dev/null 2>&1 || echo "docker-compose build failed!"
99

10-
exec fig run --no-deps --rm authstore go test github.com/cloudpipe/auth-store/... $@
10+
exec docker-compose run --no-deps --rm authstore go test github.com/cloudpipe/auth-store/... $@

0 commit comments

Comments
 (0)