[aerogear-dev] Instructions to build admin-ui

Bruno Oliveira bruno at abstractj.org
Mon Jun 2 16:08:59 EDT 2014


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


More information about the aerogear-dev mailing list