To openbd devs - Is this something you guys are actively looking into right 
now? I'm only asking because if that is the case I'm going to wait and see how 
that goes. I'd love to tack a crack at it, but after looking at how this works 
I'd have to concede it is over my head - I have no experience writing bash 
scripts, which is essentially what this boils down to as far as I can tell. I 
thought it would be a matter of doing some minor customization of a jetty 
instance, but it looks more like building one from scratch...


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of 
Naaman Newbold
Sent: Thursday, February 16, 2012 6:12 PM
To: Open BlueDragon
Subject: [OpenBD] Re: Heroku Deployment

Hi,
Yes, the standard java project expects a maven build and a git push.
The git requirement isn't optional, but the runtime is. Heroku offers 
"buildpacks", which determine what occurs when you 'git push heroku master'. 
You can read more about buildpacks here:
http://devcenter.heroku.com/articles/buildpacks

With a buildpack, you could embed the OpenBD Ready2Run in your runtime (i.e. 
download it in the buildpack's bin/compile script) and run your app just as you 
would locally. Take a look at the java buildpack as an example. In bin/compile, 
it downloads maven and builds the project as necessary.
https://github.com/heroku/heroku-buildpack-java

If OpenDB offered a maven artifact (I couldn't find one), you could also use 
the same strategy that's used the railo example above.

Let me know if you have any questions.

On Feb 14, 8:39 am, Matthew Woodward <[email protected]> wrote:
> On Tue, Feb 14, 2012 at 8:24 AM, David G Ortega 
> <[email protected]>wrote:
>
> > I think that this should be possible since OpenDB can be deployed as 
> > a war and, instead of Jetty, Tomcat could be used for example. Am I 
> > wrong?
>
> You're not wrong on that point, no, it's all just standard Java stuff.
>
> Where Heroku differs is how you have to deploy, which involves Git and 
> (from what I understand) Maven, but we're looking into it.
> --
> Matthew Woodward
> [email protected]http://blog.mattwoodward.com
> identi.ca / Twitter: @mpwoodward
>
> Please do not send me proprietary file formats such as Word, 
> PowerPoint, etc. as 
> attachments.http://www.gnu.org/philosophy/no-word-attachments.html

--
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

     Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012

-- 
online documentation: http://openbd.org/manual/
   google+ hints/tips: https://plus.google.com/115990347459711259462
     http://groups.google.com/group/openbd?hl=en

     Join us @ http://www.OpenCFsummit.org/ Dallas, Feb 2012

Reply via email to