This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.
You will need the following things properly installed on your computer.
- Git
- Node.js (with npm)
- Ember CLI
- Google Chrome
git clone <repository-url>
this repositorycd frontend-dashboard
npm install
ember serve
- Visit your app at http://localhost:4200.
- Visit your tests at http://localhost:4200/tests.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
npm run lint
npm run lint:fix
ember build
(development)ember build --environment production
(production)
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