Top Menu

Rails app deployment with Docker – Part 2

Series takeaways: Configure a Rails app to be deployed on a cloud architecture (Part 1) Create a vagrant test machine with docker installed (Part 1) Interactive image building vs. Dockerfiles (Part 2) Data Persistence (Part 2) Good Practices (Part 2) Create 7 docker containers that will host the reconfigured rails app (Part 3): Container 1: […]

Continue Reading 1

2014 thinning list

To be faithful to my motto Thin code is king code I’m willing to slim down my development/deployment stack. This year I will: Switch from rvm to chruby Migrate this blog from WordPress to either LocomotiveCMS or Jeckyll Thin down all development and deployment by using Docker Learn Go (this is just because to thin down code you need to use the […]

Continue Reading 0

Migrate Joomla from Windows 2003 to Docker

Migrate Apache2/PHP website to docker Before continuing my series on rails deployment with docker in a PAASY environment I needed to migrate and existing Joomla 1.5 from a Windows 2003 machine to an Azure Ubuntu Linux 12.04. Nothing fancy but there is also a Rails application pointing to the same MySql db which also needs […]

Continue Reading 0

Rails app deployment with Docker – Part 1

After my first approach to easying up the many pains of Rails deployment I happened to bump into Docker for a broader PAAS project. So my thought was: why automate only code deployment if I can automate the whole machine deployment especially with a tool like Docker that makes this task trivial and quick. In […]

Continue Reading 4

Easy Peasy Deploy

I’m a bit tired of reinventing the wheel every time I need to deploy a rails app. Capistrano has made the good decision to use rake instead of his own DSL so I’ll follow that path. I need a deploy.rake file with some tasks inside. I want to be able to perform ssh commands but […]

Continue Reading 1

Multithreaded Rails App 4 REAL

Rubinius 2.0 (actually 2.1.1) is out and with it rails apps can finally be fully multithreaded taking advantage of multicore processors and substantially reducing memory consumption (benchmark of latest ruby implementations). Im currently porting a Rails 2 app to Rails 4. It is a patients management app with also image management. Some doctors have up […]

Continue Reading 0

L’Uomo è maggiormente confortato dai paradossi – G.K. Chesterton

Introduzione al Libro di Giobbe di G. K. Chesterton (tradotto da me in italiano) Il libro di Giobbe é, nell’ambito degli Altri libri del Vecchio Testamento, sia un enigma filosofico che un enigma storico. Quello che ci riguarda per un’introduzione come questa é l’enigma filosofico; possiamo quindi occuparci prima brevemente di una generica avvertenza che […]

Continue Reading 0

Tailing problems in Windows

I built this beautiful dashboard collecting data from different sensors on a high efficiency vehicle. I opted for an html page with server-events. Now I need to tail two files every 0.2 seconds and those files are uptaded every 0.2 seconds. These in Windows 7 brings up random errors when tail.exe tries to read a […]

Continue Reading 0

Elezioni 2013

Si avvicina l’unico momento in cui la “democrazia” ci fornisce la possibilità (sia pure porcellanamente limitata) di dire la nostra su quello che sarà il comune destino per i prossimi 4 anni. Normalmente ho approcciato questo momento con sensazioni più o meno forti di nausea e ho sempre finito per non essere in grado di […]

Continue Reading 0

Who's calling? (I mean ruby method)

I needed to know which method was calling another method in a ruby app. I’m writing a legacy protocol parser and need to control that received packets from the serial port stream are matching with commands replies. So I have a set of methods performing some commands and constants which represent correct replies: I wanted […]

Continue Reading 0

Powered by WordPress. Designed by Woo Themes