diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -81,6 +81,8 @@ We can also limit the number of results and skip N results forward with the para curl -s -H "Authorization: Bearer $JWT" 'http://localhost:80/sc/v0/get?limit=5&skip=2' | json_pp -json_opt utf8,pretty +There is also a convenience script `do-as` which simplifies performing actions as a particular user. + ## Development There are two docker-compose files used for development: @@ -88,9 +90,7 @@ There are two docker-compose files used for development: - `docker/docker-compose-dev.yaml` for the collector, and - `auth-server-poc/docker-compose.yml` for the JWT server. -To apply changes, build with `docker-compose build -f docker/docker-compose-dev.yaml` or `docker-compose -f auth-server-poc/docker-compose.yml` (depending on what has changed) and then restart the containers with `./quickstart.sh`. - -If you want to save build time you can also pass a service name to `docker-compose build`, i.e. `docker-compose build -f docker/docker-compose-dev.yaml collector`. +To apply changes, `source env-vars.sh` and do e.g. `docker-compose -f docker/docker-compose-dev.yaml up -d --build collector`. ## JWT mechanics (work in progress) |