<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 21, 2015 at 10:16 AM, mo <span dir="ltr">&lt;<a href="mailto:michi.oshima@gmail.com" target="_blank">michi.oshima@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
I&#39;m trying to run the unified push server in a development environment to<br>
troubleshoot and understand it better.  I&#39;m wondering if there is any<br>
documentation available to assist me with setting up development environment<br>
for it.  I&#39;ve looked though documents under &quot;Contributing to AeroGear&quot;, but<br>
I am in need of a more detailed guide.  I&#39;d like to get to a point where I<br>
can run unified push, break point, and inspect variables, and so on.<br>
<br>
So far I&#39;ve managed to run &#39;mvn test&#39; successfully on the unified push<br>
server source code.  I use Eclipse, so I wanted to import the project.  I<br>
get quite a lot of errors in doing so.<br>
<br>
I am troubleshooting version 1.0.2.  We use OpenShift to deploy the aerogear<br>
server.<br>
<br>
I appreciate any help.  Thank you.<br></blockquote><div><br></div><div>Sure thing.  I&#39;m ran this from master, I am using postgres as my database, Wildfly as my app server, NetBeans as my IDE, and I&#39;m running all of these commands from the CLI instead of through the IDE; but I am 99% sure the principle of what I am saying will work for you.</div><div><br></div><div>1. Have you read <a href="https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-installation">https://aerogear.org/docs/unifiedpush/ups_userguide/index/#server-installation</a>?  It walks you through setting up your database and such.</div><div> * You will need to start wildfly in debug mode</div><div>2. Go to ${UPS-SOURCE-HOME}/servers and run `mvn wildfly:deploy -Pwildfly`</div><div>3. In Eclipse attach a debugger to port 8787</div><div>4. Set a breakpoint in DashboardEndpoint.java in the *totalApplications* method.</div><div>5. Navigate to localhost:8080/ag-push</div><div>6. Do the login and change the initial admin password (it defaults to admin/123)</div><div>7. When you load the application, your breakpoint should be triggered.</div><div> </div><div>--Summers</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Michi Oshima<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-development-environment-setup-tp7.html" target="_blank">http://aerogear-users.1116366.n5.nabble.com/Unified-push-server-development-environment-setup-tp7.html</a><br>
Sent from the aerogear-users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</blockquote></div><br></div></div>