Stefan Kecskes

Never stop learning, because life never stops teaching

Continuous Deployment

Part 2 of 2

Continuous Deployment In previous article Continuous Integration with Strider I demonstrated how to set up continuous Integration, that means how to test the code automatically and find out if it is the newest changes to code broke it or not. Now that you are automatically testing your commits, the next logical step in automation process would be to release our tested code to live website. We would want it to happen automatically, when all tests pass.

Setting up XDebug for dev environment

Debugging PHP in editor I would like to describe how to set up xDebug to work in your phpStorm IDE. There are different options available depending on your preference - you can have xDebug always try to initiate a connection for your devbox, or you can use browser plugins and extensions to choose when xDebug should try to run. Requirements sudo access to virtual host config files Automatic connection This method means that you don’t need any browser extensions, cookies or bookmarklets, but may cause small performance issues because xDebug will try and initiate a connection to your computer on port 9000 every time you load a page on your dev.

Speed up your website with Pagespeed mod

Speeding up websites Last year, in September 2014, when I was working for one of my clients, I was asked to look for some options on how quickly and easily speed up the loading of the webpages. They were using Apache2 webserver and they didn’t plan to move away from that. At that time, the client hadn’t any frontend developers. Nobody in team had solid knowledge about bower, gulp, less, sass and other cool toys of frontend guys.

Apache Modules

Apache modules Apache modules are software components that enhance the functionality and capabilities of the Apache HTTP Server. These modules are designed to extend and customize the server’s core features, allowing administrators and developers to add additional functionalities as per their requirements. Apache modules can be classified into two main categories: core modules and third-party modules. Although each module started as 3rd party module until it was accepted into core modules.

Setup Virtual Host

Create Virtual Host conf Today we will be creating virtual host on Apache2 web server. As one Apache2 web server can serve multiple websites we can later add more configs and tell Apache2 web server to serve all the websites from single unix instance. I will assume that the name of our webserver is First create a config file: sudo nano /etc/apache2/conf.d/sites-available/ and paste the following configuration into that config file.