Skip to content
Distributed Control and Monitoring System AKA Rosetta Home
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config
data/mib
gifs
lablog
terraform
.gitignore
Dockerfile
LICENSE.md
README.md
default.env
deploy
docker-compose-macOS.yml
docker-compose.yml
manage.py
requirements.txt
startup.sh
wsgi.py

README.md

LabLog, Rosetta Home

This is the application that provides the backend services for CRTLabs infrastructure.

  • LDAP/AD based login
  • OAuth2 token flow for application authorization
  • MQTT Server for sensor data pub/sub
  • InfluxDB for time-series data
  • NGINX for https/http proxy
  • Websocket server for applications (OAuth2 enabled)
  • REST API for application data
  • Docker based deployment Docker

Prerequisites:

Configuration:

Nginx

Environment Variables

  • Copy the default.env file to .env and fill in the variables with your own information.

User Accounts / Authentication

  • LDAP based registration/authentication can be enabled or disabled in loglab/config.py

  • If LDAP disabled, you need to create your users by navigating to the account registration page after the project is running.

https://<ip-address-of-virtual-machine>/auth/register
https://<ip-address-of-virtual-machine>/auth/login

Launching Rosetta Home:

  1. First start your Rosetta Home Back End Services
  2. Open Terminal and run the following commands, making sure to choose the correct configuration file depending on your operating system.
$ docker-compose -f docker-compose-macOS.yml up

Creating your first location

To create your first location, navigate to the following location and fill out the form. If you do not have MLS information, you will need to make some changes to property template to remove MLS references so the pages can still be dislayed.

https://<ip-address-of-virtual-machine>/location

Tips/Troubleshooting on macOS:

  • To get the IP address of your docker vm machine:

$ docker-machine ip default

  • Scheduler Fails to start: ERROR: Pidfile

$ rm celerybeat.pid

  • ERROR: Couldn't connect to Docker daemon

$ eval "$(docker-machine env default)

License

MIT

You can’t perform that action at this time.