Trifork Blog

Posts by Monique Dewanchand

Cordova from the Trenches: Write Once, Run & Debug Everywhere!

November 20th, 2013 by
(http://blog.trifork.com/2013/11/20/cordova-from-the-trenches-write-once-run-debug-everywhere/)

Co-written by Gian Luca Ortelli and Ashkan Roshanayi.

CrisisAppTrifork was asked to develop a mobile app for crisis management in a “GRIP 1” crisis situation for Dutch municipalities.The users of the app are municipal employees involved during a crisis situation. The app was designed in co-creation with the involved municipal employees. But what is a crisis?

Read the rest of this entry »

Ansible from the Trenches

August 13th, 2013 by
(http://blog.trifork.com/2013/08/13/ansible-from-the-trenches/)

Although its name might suggest something different on Wikipedia, Ansible is an open source framework that is capable of automating various system tasks like setting up a server, deploying and configuring applications and command execution (See Ansibleworks.com). Ansible can run across many virtual machines without the need to augment it with other tools. For distribution on various machines Ansible by default relies on SSH as a transport layer. So aside from an SSH server, Ansible doesn’t require any additional daemons to be running on the remote servers. Also Ansible doesn’t leave any traces on remote systems after its done running. Ansible  depends on the python interpreter that comes with the majority of Linux distributions. And it uses a YAML format to describe configuration and execute commands, which makes it readable.

So why not use Ansible to deploy an application across several virtual machines?
For our project we needed to deploy and configure the following packages on Ubuntu 12.04:

  • JDK 7
  • Tomcat 7
  • Elasticsearch
  • Riak
  • Application war’s

Read the rest of this entry »