Installation - kuhaku/atango GitHub Wiki

Ubuntu 14.04 on VirtualBox + Vagrant

  1. Install VirtualBox and Vagrant
  2. Download Vagrantfile (e.g.) $ wget --no-certificate https://raw.githubusercontent.com/kuhaku/atango/master/setup/Vagrantfile
  3. Execute $ vagrant up at directory having Vagrantfile
  4. Execute $ vagrant ssh
  5. Write configurations of Twitter API and flickr API to /work/atango/cfg/api.cfg
  6. Activate virtualenv. $ . /work/venv/atango/bin/activate
  7. Execute $ nosetests /work/atango/
  8. If you would like to generate word map image in word count job, modify 'font' in /work/atango/cfg/atango.json as following: "font": "/usr/share/fonts/truetype/migmix/migu-1m-regular.ttf",

Mac OSX Mavericks

  1. Download the provision script for Mac (e.g.) $ curl -O https://raw.githubusercontent.com/kuhaku/atango/master/setup/mac_provision.sh
  2. Execute the provision script by Bash. If required password, input it. $ bash mac_provision.sh
  3. Activate virtualenv. $ . /work/venv/atango/bin/activate
  4. Execute $ nosetests /work/atango/
  5. If you would like to generate word map image in word count job, install Microsoft Office for Mac or modify 'font' in /work/atango/cfg/atango.json as following: "font": "/Library/Fonts/OsakaMono.ttf",