Git Product home page Git Product logo

lablog's Introduction

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

lablog's People

Contributors

dconroy avatar entone avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.