Good idea, I add monit as one of the next step.

Load balancing is not supported at all. But we could change the nginx
config file to load balance between two images. And maybe make something
for Seaside and its state (sticky sessions?). I haven't done enough of this
to actually take an informed decision.

I'll update the README to be more clear about what is done behind the
scene. Showing the tree of directories created by HelloPharo will be worth
a thousand words (especially if you've used capistrano before).


On Thu, Aug 14, 2014 at 3:13 PM, Sven Van Caekenberghe <s...@stfx.eu> wrote:

>
> On 14 Aug 2014, at 13:08, François Stephany <tulipe.mouta...@gmail.com>
> wrote:
>
> > Oh, I forgot to mention Sven. He wrote the original
> http://stfx.eu/pharo-server/
> > We basically stole all his Bash-fu to build the main script:
> >
> > https://github.com/fstephany/hello-pharo/blob/master/app
> >
> > Thanks a lot Sven!
>
> You're welcome, François. BTW, I am still using that script for all my
> deploys.
>
> I didn't immediately see it, but does your solution include something for
> process monitoring and automatic restarts (like monit) and/or some basic
> load balancing ? In my experience the combination of these two makes for a
> more robust solution. Maybe that is the next step ;-)
>
> Sven
>
> > On Thu, Aug 14, 2014 at 1:02 PM, François Stephany <
> tulipe.mouta...@gmail.com> wrote:
> > Hello,
> >
> > At Ta Mère, we are used to deploy Ruby/Rails application with Heroku or
> on VPS with Capistrano. Almost everybody uses the same tools and techniques
> in the Rails community so deployment is quite easy once you grasp the
> process.
> >
> > The same process was quite frustrating with Pharo. To solve that, we've
> built HelloPharo. It is a tool to deploy small apps to a Linux VPS/VM.
> >
> > It is heavily inspired by Capistrano, it prones convention over
> configuration and it wants to be full stack (e.g., serve the assets,
> restart the processes). It is built with Ansible.
> >
> > We haven't released a fixed version yet but the tool starts to be in a
> good-enough shape to be shown. We want to grab some feedback and fix the
> most obvious limitations (see the README for more) before releasing version
> 0.1.0.
> >
> > If you or your company uses a well defined process to deploy pharo
> webapps, we are all ears. We think that having a canonical way to deploy
> simple apps is a must if we want to see wider Pharo adoption for small web
> companies. This process *must* be Unix friendly if we want to attract
> Python or Ruby people. Most of them are Devops anyway, the command line is
> their friend, NOT something they want to avoid.
> >
> > Pull requests (for code or instructions in the README) are more than
> welcome. The code and the documentation are MIT licensed.
> >
> > https://github.com/fstephany/hello-pharo/
> >
> > Cheers,
> > Francois
> >
>
>
>

Reply via email to