Done!

Now before be able to use the UnifiedPush Server, you need to install a DataSource inside of your JBoss AS, like described here:

https://github.com/aerogear/aerogear-unifiedpush-server#h2-database-configuration


Howtos for other Databases (e.g. Maria/MySQL) will follow




On Thu, Oct 10, 2013 at 11:36 AM, Matthias Wessendorf <matzew@apache.org> wrote:
Hi,

for [1] I thought about adding a CLI script that cover the H2 Database settings, similar to what we specified in the XML configuration file ([2]).

The benefit of this is, that the same branch can be used without any issue on the OpenShift cartridge.

Also, if folks prefer a different database (e.g. MariaDB), they can modify the script in order to "patch" the JBoss' standalone.xml file.

Another thought would be adding at least two scripts:
* H2 (file storage to ~/unifiedPush)
* MariaDB/Mysql

Any thoughts ?

[1] https://issues.jboss.org/browse/AGPUSH-275
[2] https://github.com/aerogear/aerogear-unifiedpush-server/blob/master/src/main/webapp/WEB-INF/h2-ds.xml

--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf



--
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf