<div dir="ltr">Do you copy the ag-push.war from target as an exploded war into /deployments ? Otherwise the grunt task won't be able to make the copy tak.<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Mon, Jun 2, 2014 at 10:08 PM, Bruno Oliveira <span dir="ltr"><<a href="mailto:bruno@abstractj.org" target="_blank">bruno@abstractj.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Ahoy,<br>
<br>
I might be doing something dead wrong, these are the steps followed<br>
here:<br>
<br>
1. rm -rf jboss-as-7.1.1.Final && tar xzvf jboss-as-7.1.1.Final.tar.gz<br>
&& cd jboss-current && bin/standalone.sh<br>
2. cp databases/unifiedpush-h2-ds.xml<br>
~/servers/jboss-current/standalone/deployments && cp<br>
auth-server/target/auth-server.war<br>
~/servers/jboss-current/standalone/deployments && cp<br>
server/target/ag-push.war<br>
~/servers/jboss-current/standalone/deployments/ag-push.war.dodeploy<br>
<br>
3. cp -Rv server/target/ag-push/ ~/servers/jboss-current/standalone/deployments/ag-push.war/<br>
4. At unified push server project *cd admin-ui*<br>
5. Run grunt initLocalConfig and edit local-config.json<br>
(<a href="https://gist.github.com/abstractj/c355676a649611aa89d7" target="_blank">https://gist.github.com/abstractj/c355676a649611aa89d7</a>)<br>
6. Now at<br>
/aerogear/agpush/unifiedpush/aerogear-unifiedpush-server/admin-ui run<br>
*grunt server*<br>
7. localhost:9000 shows<br>
<a href="http://photon.abstractj.org/localhost9000_20140602_170702_20140602_170705.jpg" target="_blank">http://photon.abstractj.org/localhost9000_20140602_170702_20140602_170705.jpg</a><br>
8. localhost:8080/ag-push doesn't trigger Sign out event<br>
<br>
If you want to try<br>
<a href="https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth</a>.<br>
Certainly is some missing detail during deployment, but that doesn't<br>
work here, any idea about what's wrong is welcome.<br>
<div class="HOEnZb"><div class="h5"><br>
On 2014-06-02, Sebastien Blanc wrote:<br>
> Yes,<br>
><br>
> We are a bit in a transition phase with the complete overhaul of the<br>
> console. The old readme is not enterily up to date and could be confusing.<br>
> This JIRA has been created to track this :<br>
> <a href="https://issues.jboss.org/browse/AGPUSH-679" target="_blank">https://issues.jboss.org/browse/AGPUSH-679</a><br>
><br>
> @abstractj: in the mean time, you can follow the instructions that Lukas<br>
> pointed out.<br>
><br>
> Sebi<br>
><br>
><br>
><br>
><br>
><br>
> On Mon, Jun 2, 2014 at 9:11 AM, Matthias Wessendorf <<a href="mailto:matzew@apache.org">matzew@apache.org</a>><br>
> wrote:<br>
><br>
> ><br>
> ><br>
> ><br>
> > On Fri, May 30, 2014 at 6:44 PM, Lukáš Fryč <<a href="mailto:lukas.fryc@gmail.com">lukas.fryc@gmail.com</a>> wrote:<br>
> ><br>
> >> Hey man,<br>
> >><br>
> >> I can't find the instructions myself atm.<br>
> >> (they could have been lost during merge (?))<br>
> >><br>
> ><br>
> > hrm, yeah - surprised to see the README is no longer around<br>
> ><br>
> ><br>
> ><br>
> >><br>
> >> I found this copy, which is almost up to date:<br>
> >><br>
> >> <a href="https://github.com/lfryc/aerogear-unifiedpush-server/tree/master/admin-ui#using-with-jboss-eapwildfly" target="_blank">https://github.com/lfryc/aerogear-unifiedpush-server/tree/master/admin-ui#using-with-jboss-eapwildfly</a><br>
> >><br>
> >> Basically, run<br>
> >><br>
> >> upload exploded ag-push.war/ to JBoss AS 7.1.<br>
> >> $ cd admin-ui/<br>
> >> $ grunt server<br>
> >> modify generated local-config.json to point to that exploded war<br>
> >> $ grunt server<br>
> >><br>
> >> Hope it helps.<br>
> >><br>
> >> Meanwhile, I will update the instructions in the master.<br>
> >><br>
> >> Cheers,<br>
> >><br>
> >> ~ Lukas<br>
> >><br>
> >><br>
> >> On Fri, May 30, 2014 at 6:03 PM, Bruno Oliveira <<a href="mailto:bruno@abstractj.org">bruno@abstractj.org</a>><br>
> >> wrote:<br>
> >><br>
> >>> Good morning,<br>
> >>><br>
> >>> I'm looking for instructions of how to build admin-ui correctly. Where<br>
> >>> could I find it?<br>
> >>><br>
> >>> Currently I tried<br>
> >>><br>
> >>> <a href="https://github.com/aerogear/aerogear-unifiedpush-server-admin-ui/blob/master/README.md" target="_blank">https://github.com/aerogear/aerogear-unifiedpush-server-admin-ui/blob/master/README.md</a><br>
> >>> and also<br>
> >>> <a href="https://github.com/aerogear/collateral/wiki/UPS-Admin-Console-Process" target="_blank">https://github.com/aerogear/collateral/wiki/UPS-Admin-Console-Process</a>.<br>
> >>> The reason why I want this is because Sebastien managed to get it<br>
> >>> working<br>
> >>><br>
> >>> <a href="https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/tree/angular-auth</a><br>
> >>> and something very dirty might be happening with my environment.<br>
> >>><br>
> >>> What I want to do is very simple. Trigger the following event:<br>
> >>><br>
> >>> <a href="https://github.com/abstractj/aerogear-unifiedpush-server/commit/aeed989288ae0c42a8f163b303fb1d89a029b635#diff-bd44ccad477ae267b4939a7797ddc9eeR90" target="_blank">https://github.com/abstractj/aerogear-unifiedpush-server/commit/aeed989288ae0c42a8f163b303fb1d89a029b635#diff-bd44ccad477ae267b4939a7797ddc9eeR90</a><br>
> >>> .<br>
> >>><br>
> >>> I also tried to copy these files to server/src/main/webapp/ but it<br>
> >>> didnt'work.<br>
> >>><br>
> >>> Thanks in advance.<br>
> >>><br>
> >>> --<br>
> >>><br>
> >>> abstractj<br>
> >>> _______________________________________________<br>
> >>> aerogear-dev mailing list<br>
> >>> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> >>> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> >>><br>
> >><br>
> >><br>
> >> _______________________________________________<br>
> >> aerogear-dev mailing list<br>
> >> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> >> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> >><br>
> ><br>
> ><br>
> ><br>
> > --<br>
> > Matthias Wessendorf<br>
> ><br>
> > blog: <a href="http://matthiaswessendorf.wordpress.com/" target="_blank">http://matthiaswessendorf.wordpress.com/</a><br>
> > sessions: <a href="http://www.slideshare.net/mwessendorf" target="_blank">http://www.slideshare.net/mwessendorf</a><br>
> > twitter: <a href="http://twitter.com/mwessendorf" target="_blank">http://twitter.com/mwessendorf</a><br>
> ><br>
> > _______________________________________________<br>
> > aerogear-dev mailing list<br>
> > <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> > <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
> ><br>
<br>
> _______________________________________________<br>
> aerogear-dev mailing list<br>
> <a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a><br>
<br>
<br>
--<br>
<br>
abstractj<br>
_______________________________________________<br>
aerogear-dev mailing list<br>
<a href="mailto:aerogear-dev@lists.jboss.org">aerogear-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-dev</a></div></div></blockquote></div><br></div>