Skip to content

Ember frontend of the LBLOD dashboard

Notifications You must be signed in to change notification settings

lblod/frontend-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

frontend-dashboard

This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

  • git clone <repository-url> this repository
  • cd frontend-dashboard
  • npm install

Running / Development

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests

  • ember test
  • ember test --server

Linting

  • npm run lint
  • npm run lint:fix

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

To include in a semantic.works stack, include the following in docker-compose.yml:

  dashboard:
    image: lblod/frontend-dashboard
    links:
      - identifier:backend
    restart: always

In order to be able to log in with mu-login in the dashboard, you should include the mu-login-service in your docker-compose.yml:

  login:
    image: semtech/mu-login-service:2.9.1
    links:
      - database:database

dispatcher.ex should contain the following rule in order to get ember-mu-login working:

match "/sessions/*path", %{ accept: %{json: true} } do
    Proxy.forward conn, path, "http://login/sessions/"
end

Further Reading / Useful Links