If you are doing a non-web-enabled install on Windows, Mac OS, or Linux, follow these steps:
Download and install PostgreSQL
Download and install plv8.
Edit
to include postgresql.conf
plv8.start_proc = 'xt.js_init'
Initialize PostgreSQL for xTuple, i.e., add the superuser 'admin' and the group 'xtrole' (see below)
Create a database using UTF-8 encoding
Update database to allow plv8
Download and restore an xTuple database on your new database