https://github.com/falinor/wot-authorization-server
https://github.com/falinor/wot-authorization-server
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/falinor/wot-authorization-server
- Owner: Falinor
- Created: 2017-03-29T15:41:34.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-04T16:28:05.000Z (about 9 years ago)
- Last Synced: 2025-06-04T04:18:15.694Z (about 1 year ago)
- Language: JavaScript
- Size: 343 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Installation
`$ git clone git@github.com:Falinor/wot-authorization-server.git`
# Getting started
`$ docker-compose up -d` builds and runs everything.
## The docker-compose workflow
The authorization server uses docker-compose yaml files in order to build several services
at the same time.
When you type `$ docker-compose up [OPTIONS]`, docker-compose looks up
_docker-compose.yml_ and _docker-compose.override.yml_ files. This behavior
allows to declare common keys (in _docker-compose.yml_) and specify
specific development keys.
# Testing
Start by building the service containers with the following command:
`$ docker-compose -f docker-compose.test.yml -f docker-compose.yml build`
## Testing everything
`$ docker-compose -f docker-compose.test.yml -f docker-compose.yml up`
## Testing a single service
`$ docker-compose -f docker-compose.test.yml -f docker-compose.yml start SERVICE`
where SERVICE is the name of the intended service e.g. `apitest` for the API.