[aerogear-dev] Instructions to build admin-ui

Sebastien Blanc scm.blanc at gmail.com
Tue Jun 3 07:08:57 EDT 2014


Ah right ! Sorry
Ok I think I know what's missing :
before "grunt server" do a "npm install" and then "bower install" , should
help :)



On Tue, Jun 3, 2014 at 12:30 PM, Bruno Oliveira <bruno at abstractj.org> wrote:

> On 2014-06-02, Sebastien Blanc wrote:
> > 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.
>
> I guess so, please see step 3. That's what am I supposed to do, right?
>
> >
> >
> >
> > 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
> > >
> > > 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
> > >
>
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-dev/attachments/20140603/96c2b529/attachment.html 


More information about the aerogear-dev mailing list