I wanted to write blogs with markdown. And I found Ghost.
Next I needed to find a nice theme with syntax highlighting. Found Ghostium.
Finally I need a place to host it. Found DigitalOcean.
Got my domain from Namecheap
My setup is Ubuntu 14.04 LTS with Ghost 0.4.2.
Auto start Ghost with the file below:
# Start the service after everything loaded start on (local-filesystems and net-device-up IFACE=eth0) stop on shutdown # Automatically restart service respawn respawn limit 99 5 script # Navigate to your app directory cd /var/www/ghost/ # Run the script with Node.js and output to a log exec /usr/bin/npm start --production /var/www/ghost/ 2>&1 >> /var/log/ghost.log end script