If your intention is to set up OpenTreeMap for development and contributing to the open source project, instead of using this guide, we recommend you use the otm-vagrant project instead of following these steps. That will get you a "dev env" much more quickly!
This guide assumes use of 64-bit Ubuntu 12.04. IMPORTANT: OpenTreeMap will ONLY work on 64-bit Ubuntu. Do not attempt with 32-bit.
There are several config files, upstart scripts, and other small files that you'll need to copy/get from the otm-vagrant project's "scripts" directory. We'll link to them here when you need them.