Skip to content

Commit

Permalink
Merge pull request #24 from lsst-ts/release/0.2.1
Browse files Browse the repository at this point in the history
Release/0.2.1
  • Loading branch information
sfehlandt authored Aug 21, 2019
2 parents 63db76f + ea65dfb commit 1ced7b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 44 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pipeline {
agent any
environment {
registryCredential = "dockerhub-inriachile"
dockerImageName = "inriachile/love-manager:"
dockerImageName = "lsstts/love-manager:"
dockerImage = ""
}

Expand Down
43 changes: 1 addition & 42 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,45 +2,4 @@

This repository contains the code of the Django Channels project that acts as middleware for the LOVE-frontend

## Basic local usage

Run the producer as in https://github.com/lsst-ts/LOVE-backend/blob/master/README.md

Run redis from the `LOVE-integration-tools/deploy/dev$`

```docker-compose up redis```

Move to the telemetry-manager folder and load a virtualenv

```
python3 -m venv virtualenv
source virtualenv/bin/activate
```

and open the manager:

```
python3 manage.py runserver
```


Open https://www.websocket.org/echo.html in a browser and connect to this address:

```
ws://localhost:8000/ws/subscription/
```

And send this message:
`{"option": "subscribe", "data": "avoidanceRegions"}`

In the log you should see something like:

```
RECEIVED: {"data": "Successfully subscribed to \"avoidanceRegions\""}
RECEIVED: {"data": {"avoidanceRegions": 1, "scale": 0.4713086485862732, "timestamp": 0.8468274284829842, "zero": 0.17323127388954163}}
...
```
See the documentation here: https://lsst-ts.github.io/LOVE-manager/html/index.html
2 changes: 1 addition & 1 deletion manager/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ pytz==2018.7
six==1.12.0
Sphinx==2.1.2
sphinx-rtd-theme==0.4.3
Twisted==19.2.1
Twisted==19.7.0
txaio==18.8.1
zope.interface==4.6.0

0 comments on commit 1ced7b6

Please sign in to comment.