[aerogear-dev] Instructions to build admin-ui

Bruno Oliveira bruno at abstractj.org
Tue Jun 3 11:24:43 EDT 2014


Thank you Lukáš, that displayed the admin-ui properly here. Now I think
I'm almost there.

The "Sign out" event was supposed to trigger an event[1], but nothing
happens. The unziped war file has the changes included by Sebastien[2] and
I can see the grunt server reloading when something change.

[1] -
https://github.com/abstractj/aerogear-unifiedpush-server/blob/angular-auth/admin-ui/app/index.html#L64
[2] -
https://github.com/abstractj/aerogear-unifiedpush-server/commit/2dd1b60048d85f62b734aa1050c71b0a89f7ee81

Thanks in advance.

On 2014-06-03, Lukáš Fryč wrote:
> Yeah, step (3) is correct,
>
> I assume you are missing
>
> $ bower install (npm install you probably did since you can run grunt)
>
> just after step (4). (I've just run into this issue now)
>
>
> On Tue, Jun 3, 2014 at 12:31 PM, Bruno Oliveira <bruno at abstractj.org> wrote:
>
> > On 2014-06-03, Matthias Wessendorf wrote:
> > > On Mon, Jun 2, 2014 at 10:08 PM, Bruno Oliveira <bruno at abstractj.org>
> > wrote:
> > >
> > > > Ahoy,
> > > >
> > > > I might be doing something dead wrong, these are the steps followed
> > > > here:
> > > >
> > > > 1. rm -rf jboss-as-7.1.1.Final && tar xzvf jboss-as-7.1.1.Final.tar.gz
> > > > && cd jboss-current && bin/standalone.sh
> > > > 2. cp databases/unifiedpush-h2-ds.xml
> > > > ~/servers/jboss-current/standalone/deployments && cp
> > > > auth-server/target/auth-server.war
> > > > ~/servers/jboss-current/standalone/deployments && cp
> > > > server/target/ag-push.war
> > > > ~/servers/jboss-current/standalone/deployments/ag-push.war.dodeploy
> > > >
> > > > 3. cp -Rv server/target/ag-push/
> > > > ~/servers/jboss-current/standalone/deployments/ag-push.war/
> > > > 4. At unified push server project *cd admin-ui*
> > > > 5. Run grunt initLocalConfig and edit local-config.json
> > > > (https://gist.github.com/abstractj/c355676a649611aa89d7)
> > > > 6. Now at
> > > > /aerogear/agpush/unifiedpush/aerogear-unifiedpush-server/admin-ui run
> > > > *grunt server*
> > > > 7. localhost:9000 shows
> > > >
> > > >
> > http://photon.abstractj.org/localhost9000_20140602_170702_20140602_170705.jpg
> > > > 8. localhost:8080/ag-push doesn't trigger Sign out event
> > > >
> > >
> > > might be unrelated, but perhaps not. After their Beta1 release Bill
> > fixed a
> > > bug on the AS7 adapter:
> > > https://github.com/keycloak/keycloak/pull/446
> >
> > I think it's unrelated because I don't even make use of Keycloak.js.
> > It's just plain Angular.js for testing purposes.
> >
> > >
> > >
> > > -Matthias
> > >
> > >
> > > >
> > > > If you want to try
> > > >
> > https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth
> > > > .
> > > > Certainly is some missing detail during deployment, but that doesn't
> > > > work here, any idea about what's wrong is welcome.
> > > >
> > > > On 2014-06-02, Sebastien Blanc wrote:
> > > > > Yes,
> > > > >
> > > > > We are a bit in a transition phase with the complete overhaul of the
> > > > > console. The old readme is not enterily up to date and could be
> > > > confusing.
> > > > > This JIRA has been created to track this :
> > > > > https://issues.jboss.org/browse/AGPUSH-679
> > > > >
> > > > > @abstractj: in the mean time, you can follow the instructions that
> > Lukas
> > > > > pointed out.
> > > > >
> > > > > Sebi
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Mon, Jun 2, 2014 at 9:11 AM, Matthias Wessendorf <
> > matzew at apache.org>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Fri, May 30, 2014 at 6:44 PM, Lukáš Fryč <lukas.fryc at gmail.com>
> > > > wrote:
> > > > > >
> > > > > >> Hey man,
> > > > > >>
> > > > > >> I can't find the instructions myself atm.
> > > > > >> (they could have been lost during merge (?))
> > > > > >>
> > > > > >
> > > > > > hrm, yeah - surprised to see the README is no longer around
> > > > > >
> > > > > >
> > > > > >
> > > > > >>
> > > > > >> I found this copy, which is almost up to date:
> > > > > >>
> > > > > >>
> > > >
> > https://github.com/lfryc/aerogear-unifiedpush-server/tree/master/admin-ui#using-with-jboss-eapwildfly
> > > > > >>
> > > > > >> Basically, run
> > > > > >>
> > > > > >> upload exploded ag-push.war/ to JBoss AS 7.1.
> > > > > >> $ cd admin-ui/
> > > > > >> $ grunt server
> > > > > >> modify generated local-config.json to point to that exploded war
> > > > > >> $ grunt server
> > > > > >>
> > > > > >> Hope it helps.
> > > > > >>
> > > > > >> Meanwhile, I will update the instructions in the master.
> > > > > >>
> > > > > >> Cheers,
> > > > > >>
> > > > > >> ~ Lukas
> > > > > >>
> > > > > >>
> > > > > >> On Fri, May 30, 2014 at 6:03 PM, Bruno Oliveira <
> > bruno at abstractj.org>
> > > > > >> wrote:
> > > > > >>
> > > > > >>> Good morning,
> > > > > >>>
> > > > > >>> I'm looking for instructions of how to build admin-ui correctly.
> > > > Where
> > > > > >>> could I find it?
> > > > > >>>
> > > > > >>> Currently I tried
> > > > > >>>
> > > > > >>>
> > > >
> > https://github.com/aerogear/aerogear-unifiedpush-server-admin-ui/blob/master/README.md
> > > > > >>> and also
> > > > > >>>
> > > > https://github.com/aerogear/collateral/wiki/UPS-Admin-Console-Process.
> > > > > >>> The reason why I want this is because Sebastien managed to get it
> > > > > >>> working
> > > > > >>>
> > > > > >>>
> > > >
> > https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth
> > > > > >>> and something very dirty might be happening with my environment.
> > > > > >>>
> > > > > >>> What I want to do is very simple. Trigger the following event:
> > > > > >>>
> > > > > >>>
> > > >
> > https://github.com/abstractj/aerogear-unifiedpush-server/commit/aeed989288ae0c42a8f163b303fb1d89a029b635#diff-bd44ccad477ae267b4939a7797ddc9eeR90
> > > > > >>> .
> > > > > >>>
> > > > > >>> I also tried to copy these files to server/src/main/webapp/ but
> > it
> > > > > >>> didnt'work.
> > > > > >>>
> > > > > >>> Thanks in advance.
> > > > > >>>
> > > > > >>> --
> > > > > >>>
> > > > > >>> abstractj
> > > > > >>> _______________________________________________
> > > > > >>> aerogear-dev mailing list
> > > > > >>> aerogear-dev at lists.jboss.org
> > > > > >>> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> > > > > >>>
> > > > > >>
> > > > > >>
> > > > > >> _______________________________________________
> > > > > >> aerogear-dev mailing list
> > > > > >> aerogear-dev at lists.jboss.org
> > > > > >> https://lists.jboss.org/mailman/listinfo/aerogear-dev
> > > > > >>
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Matthias Wessendorf
> > > > > >
> > > > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > > > sessions: http://www.slideshare.net/mwessendorf
> > > > > > twitter: http://twitter.com/mwessendorf
> > > > > >
> > > > > > _______________________________________________
> > > > > > aerogear-dev mailing list
> > > > > > aerogear-dev at lists.jboss.org
> > > > > > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> > > > > >
> > > >
> > > > > _______________________________________________
> > > > > aerogear-dev mailing list
> > > > > aerogear-dev at lists.jboss.org
> > > > > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> > > >
> > > >
> > > > --
> > > >
> > > > abstractj
> > > > _______________________________________________
> > > > aerogear-dev mailing list
> > > > aerogear-dev at lists.jboss.org
> > > > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> > > >
> > >
> > >
> > >
> > > --
> > > Matthias Wessendorf
> > >
> > > blog: http://matthiaswessendorf.wordpress.com/
> > > sessions: http://www.slideshare.net/mwessendorf
> > > twitter: http://twitter.com/mwessendorf
> >
> > > _______________________________________________
> > > aerogear-dev mailing list
> > > aerogear-dev at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> >
> >
> > --
> >
> > abstractj
> > _______________________________________________
> > aerogear-dev mailing list
> > aerogear-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/aerogear-dev
> >

> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev


--

abstractj


More information about the aerogear-dev mailing list