Feature/cypressio

This commit is contained in:
Plup
2020-05-19 13:13:30 +00:00
committed by Jean-Baptiste Pasquier
parent beed19cb42
commit 9df738a15f
19 changed files with 1614 additions and 7 deletions

View File

@ -221,6 +221,34 @@ On `config.json`:
}
```
## Use with docker
### Multi services
Run with a local binding on localhost:
```bash
docker-compose build
docker-compose up -d client server
```
Use in CI context:
```bash
docker-compose -f docker-compose.yml build
docker-compose -f docker-compose.yml up -d client server
docker-compose -f docker-compose.yml run --rm e2e
```
Build and push the server to registry:
```bash
docker build -f docker/djangoldp.docker --build-arg serve="http://localhost:8000" -t registry.startinblox.com/applications/hubl/server:0.1 .
docker push registry.startinblox.com/applications/hubl/server:0.1
```
Note: within a Kubernetes pod all services are bound to `localhost`.
## Built With
* [Sib-Core](https://git.startinblox.com/framework/sib-core/) - An awesome new framework!