Search

Home > Coder Catchup > Episode 119 - Processes Beware the Procodiles
Podcast: Coder Catchup
Episode:

Episode 119 - Processes Beware the Procodiles

Category: Technology
Duration: 00:04:58
Publish Date: 2017-06-29 17:30:00
Description:

Where to find it? https://github.com/adamcooke/procodile

Run processes in the background (and foreground) on Mac & Linux from a Procfile (for production and/or development environments)

About (taken from the repo) Running & deploying Ruby apps to places like Viaduct & Heroku is really easy but running processes on actual servers is less fun. Procodile aims to take some the stress out of running your Ruby/Rails apps and give you some of the useful process management features you get from the takes of the PaaS providers.

Procodile is a bit like Foreman but things are designed to run in the background (as well as the foreground if you prefer) and there's a supervisor which keeps an eye on your processes and will respawn them if they die.

Procodile works out of the box with your existing Procfile.

Running procodile start --dev (this keeps it running in the foreground) If you don't it runs in the background.

So its running in the background, now what? It acts like a normal service, call procodile stop, procodile restart or procodile status (status of all processes that are being supervised)

But there is more, thanks to Procfile.options file, you can take your Procfile even further. See: https://github.com/adamcooke/procodile/wiki/Configuration

Total Play: 0