Krzych Jończyk

Modern PHP, soft skills, productivity and time management.

Month: October 2017

I’m podcast addicted. I listen to them a couple of hours every week, mostly during the tram ride to work.

It’s hard to tell how much it gives me and how much I learned, but I let the numbers speak for themselves (today is 20th October 2017 for the record, so it’s 549 days).

To learn more see my previous post about Podcasts.

[Edit] How to deploy Symfony app with Capistrano 3 on cheap OVH VPS


If you want to deploy Symfony app using Capistrano 3 to cheap OVH VPS then you’ll need to write a simple task to set proper permissions.

Edit: unfortunately, there was still a little problem with permissions and I made deployment semi-automatic.

I have a very cheap VPS in OVH, it costs only about $2 per month. It is perfect for my needs, I have my blog there, I have my friend’s blog as well. And now I want to move my wife’s portfolio from (even cheaper :P) shared hosting to this VPS.

Until now deploy to shared hosting looked like this:

  1. open FTP
  2. go to portfolio directory
  3. move changed files
  4. app/console cache:clear


Fortunately, I had access to SSH on my hosting (not popular thing) so I could try to automate this process a little bit. But because I already have VPS then the better idea was to move the portfolio there and use some tool for deployment.

The portfolio is written using Symfony 2 framework so the best idea is to use Capistrano. I had some experience with Capifony which is pretty old, unmaintained customization for Capistrano 2 (which is also quite old). I don’t want to use old stuff. So the goal is easy: deploy Symfony 2 app using Capistrano 3 to OVH, cheap VPS.
Continue reading

© 2018 Krzych Jończyk

Theme by Anders NorenUp ↑