You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Timothy Prepscius 9842798c78 doc 9 years ago
android adds the android 10 years ago
build changes for case sensitive file system 9 years ago
config moves the config to lower directory, makes the keys generate automatically 10 years ago
cpp adds the cpp files 10 years ago
deploy adds an 80 server 9 years ago
ext more setup 9 years ago
gwt makes gwt build log level not all 9 years ago
install setup server doesn't need setup utils 9 years ago
james makes the files closer to the svn original so easier to track changes 10 years ago
java wrong Base64 in Stripe 9 years ago
keys adds dummy ios-push so rsync executes correctly 9 years ago
passwords makes the captcha keys optional 9 years ago
web pgp uses rng from tomwu, mDispatch does pgp sync, somehow failing async 9 years ago
.gitignore adds the build scripts, removes some remaining unremoved files which I thought I removed last time 10 years ago
DEV_BRAIN_DUMP.txt adds another cut of the pgp key ring, adds first cut of internal store so test-setups don't need to use S3 10 years ago
HOW_TO_INSTALL.txt getting very close to automatic deploy 10 years ago
License.txt adds a set of files 10 years ago some doc changes 9 years ago
make adds the base make script 10 years ago
setup-1-dependencies some doc changes 9 years ago
setup-2-install doc 9 years ago
setup-3-compile some doc changes 9 years ago
setup-4-deploy some doc changes 9 years ago


This documents talks about installing mailiverse from an origin to a target.

------- Requirements on the origin build machine ---------

To install from and build mailiverse from the origin, the origin must:

  1. Have ssh keys: ssh-keygen -t rsa -b 4096

  2. Have git installed: sudo apt-get install git --yes

  3. Have unzip installed: sudo apt-get install unzip --yes

  4. Clone the mailiverse: git clone

  5. Have oracle java installed: (cd mailiverse/install && sudo ./setup-java.remote)

  6. Have ant installed: sudo apt-get install ant --yes

  7. Add the line to the hosts file for the target machine:

So let's say your target machine was named: And it's IP was:

sudo nano /etc/hosts add the line:

This could also be done on a DNS server, if you control one..

After these steps have been taken you are ready to set up.

--------- Setting up -------------

  1. ./setup-1-dependencies

This will build enough stuff to generate keys for things. It will will generate default keys, default passwords, etc. You will at some point need to type in "password" a bunch of times, to export a particular key so it can be used with nginx.

  1. ./setup-2-install

This will install the mailiverse system onto the target. This means it will create user directories, install software, etc.

  1. ./setup-3-compile

This will compile all the sources, jar them up, war them up, etc.

  1. ./setup-4-deploy

This will deploy mailiverse onto the target machine.

Congratulations, if you have finished these, you should be able to put:


And it should work.