Okey, today it’s time to see how this site keeps up via nginx instead of apache. So far so good, at least almost everything seems to still work as expected. In switchover, getting nginx + passenger + rails to work took some effort, but this was still reasonably easy. However, bigger trouble was getting this…
Read moreWalking in the assets land
Welcome daisy! Setup done earlier for Apache2 + Rails wasn’t yet very optimal. This fact was neatly indicated by google pagepeed index tools. Luckily few fixes are rather easy to apply. Assets not compressed Ups, this is triviality, I had forgotten to copy relevant caching logic config when setting up new virtual host config. /etc/apache2/v.hosts.d/host.kari.dy.fi.conf…
Read moreTuning up apache2 + passenger
Todays topic to is tuneup a bit more server what was setup earlier. Goal is to, Improve logic for redeploy, thus to avoid breaking running server when doing new deploy Remove dependency into private user account, but use instead account specific to this deploy only To use server instance specific ruby version instead of globally…
Read moreCameras, action: setup passenger to apache2
Our guidance sources shall be today: Install package OBS:Server:Unstable / rubygem-passenger Phusion Passenger users guide, Apache version How To Setup a Rails 4 App With Apache and Passenger on CentOS 6 Setting up Rails app on Apache with passenger – Rails doesn’t seem to load Now, when having all interesting source material in hand lets…
Read moreJavascript dependency hell
Okey, Scenario is this: There is two competing libraries for ”_” (aka. underscore) global variable. Libraries in question are ”underscore” and ”lodash”. Problem is that due to javascript compatibility dependency hell, it’s quite difficult to have only one of them. For example. in simple test project (either using Jam or Bower) I’m failing to accomplish…
Read moreIn series: What you did on your weekend
So what during the weekend? Well, just a bit more coding and experimenting: Simple Klondike So I did small refresh in my web app development and cooked up small solitaire game. Of course game itself ain’t anything particular, but what is important is experimentation with various techniques. So that’s all for a while. Tested with…
Read more