Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 app
Octocat-spinner-32 tasks
Octocat-spinner-32 test
Octocat-spinner-32 .bowerrc
Octocat-spinner-32 .editorconfig
Octocat-spinner-32 .gitattributes
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .jshintrc
Octocat-spinner-32 .travis.yml
Octocat-spinner-32 Gruntfile.js
Octocat-spinner-32 README.md
Octocat-spinner-32 bower.json
Octocat-spinner-32 package.json
README.md

WARNING

the content of this repository is no longer maintained;

the source continues to live on the UnifiedPush Server repo: https://github.com/aerogear/aerogear-unifiedpush-server/tree/master/admin-ui

AeroGear Unified Push Server Admin UI

Setting Up The Development Environment

Pre-reqs:

Once the pre-reqs have been taken care of, run:

npm install

bower install

To run:

grunt server

To create a distribtion:

grunt

Using Mocks

If you want to use the mocks to test, uncomment these lines from index.html

<script src="bower_components/jquery-mockjax/jquery.mockjax.js"></script>
<script src="scripts/mocks/mock.js"></script>

Then run

grunt server

Using With JBoss EAP/Wildfly

note: The current version of the Unified Push Server now has the the Admin UI distribution "installed", for development, the instructions below still apply

Clone and run https://github.com/aerogear/aerogear-unified-push-server as an exploded war.

Then run grunt initLocalConfig this will create a local-config.json file. Open it and edit the "webapp" and "jbossweb" config params:

{ "home": "/home/sebastien/aerogear/aerogear-unified-push-server-admin-ui", "webapp": "/home/sebastien/aerogear/aerogear-unifiedpush-server/src/main/webapp", "jbossweb": "/home/sebastien/apps/jboss-as-7.1.1.Final/standalone/deployments/ag-push.war", "ups_repo": "/home/sebastien/aerogear/ui_update/aerogear-unifiedpush-server" };

This will copy the contents to the "root" folder of both the cloned repo and the exploded war file( to keep them N'sync )

"webapp" should be the path where you cloned the push server.

"jbossweb" is the path of you exploded war running on an app server

Eventually, this should just be the contents of the dist folder, but for testing, well, you know

Make sure to rerun "grunt server" once you change these parameters

Now everytime you save a file, grunt is watching and will copy to these directories

Handlebar templates

This project uses handlebar templates( *.hbs )

Grunt is watching for changes in the "templates" directory and will recomplile "scripts/templates.js" with the new template

Making a release

There is a Grunt task to perform a release, please refer to this doc for more information and instructions.

Known Issues

Sometimes the incorrect version of ember templates gets installed when doing a clean npm install , running npm install a second time can fix it

Something went wrong with that request. Please try again.