Develop & Deploy Ghost with PM2

Setting Up If you already have a git repository setup and a package.json you can skip to Dependencies. Project Create a git repository for this project: git init <project name> cd <project name> Then create your package.json the easy way: npm init Dependencies Install global dependencies like Grunt and PM2 and package dependencies like Ghost and Shrinkwrap: npm install -g grunt pm2 npm install ghost shrinkwrap --save Next, create the project’s index file at the root of the project.…

Getting Ready for CakePHP 3

With the release of CakePHP 3.0.0 Development Preview 2, I decided to go over some of the PHP features that you can now take advantage of with confidence since CakePHP 3 requires PHP 5.4.3+. PHP 5.4.3 New Features Traits Class Member Access on Instantiation Short Array Syntax Short Echo Traits Traits are probably one of the most technical features I will address in this post. If you get lost just remember; traits are just like copy & paste.…