zuru-admin-lte v0.0.54
Zuru-admin-lte
This README outlines the details of collaborating on this Ember addon.
Incase you are usig the pod structure which fails at the moment, be sure to change the pod module prefix For the Admin LTE add these classes to body
<body class='hold-transition skin-blue sidebar-mini'></body>
On the router.js modify the file to the following:
import Ember from 'ember';
import config from './config/environment';
import coreMap from 'zuru-admin-lte/utils/route-setup';
const Router = Ember.Router.extend({
location: config.locationType
});
Router.map(function() {
coreMap(this);
});
export default Router;
Set up the config file as follows
Under the Templates folder on the Ember App delete the following:
Application.hbs
Unless you want to override the addon template file with this one.
#### Deprecated as have added it to Addon
ENV['sarit'] = {
apiUrl: process.env.SARIT_API_URL,
enableAuthProxy: process.env.ENABLE_AUTH_PROXY
};
ENV['ember-simple-auth'] = {
authenticationRoute: 'access.login',
routeAfterAuthentication: 'admin',
routeIfAlreadyAuthenticated: 'admin'
};
ENV['ember-simple-auth-token'] = {
refreshAccessTokens: true,
tokenExpireName: 'exp',
timeFactor: 1,
refreshLeeway: 300,
identificationField: 'username',
passwordField: 'password',
tokenPropertyName: 'access_token',
serverTokenEndpoint: process.env.SERVER_TOKEN_ENDPOINT,
serverTokenRefreshEndpoint: process.env.SERVER_TOKEN_REFRESH_ENDPOINT
};
Installation
git clone
this repositorynpm install
bower install
Running
ember server
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:testall
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit http://www.ember-cli.com/.
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago