GithubHelp home page GithubHelp logo

aerogear-unified-push-server-admin-ui's Introduction

aerogear-unifiedpush-server-admin-ui Build Status

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](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

aerogear-unified-push-server-admin-ui's People

Contributors

hbons avatar lholmquist avatar matzew avatar sebastienblanc avatar

Watchers

 avatar  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.