ripple/ripple-rest — pull request #72 by cornfeedhobo (2014-06-11 21:38:22+00:00)
Title: Install fixes

These changes work nicely and I have a working ebuild for gentoo now. If you browse my Overlay repo, you can find an included systemd init script if you would like to include that as well.

With these commits, anyone can get set up easily now.:
```
# wget https://github.com/ripple/ripple-rest/archive/v1.0.2.tar.gz

# tar xvzf v1.0.2.tar.gz

# cd ripple-rest-1.0.2

# npm install

# psql -U postgres -c "create user ripple_rest_user with password 'password'"
CREATE ROLE

# psql -U postgres -c "create database ripple_rest_db with owner ripple_rest_user encoding='utf8'"
CREATE DATABASE

# node node_modules/.bin/grunt
Running "dbsetup" task
Connected to database: postgres://ripple_rest_user:password@127.0.0.1:5432/ripple_rest_db

Running "migrate:up" (migrate) task
[INFO] Processed migration 20140123173245-outgoing-transactions
[INFO] Processed migration 20140210231029-ripple-lib
[INFO] Processed migration 20140214234158-outgoing-transactions
[INFO] Processed migration 20140225193008-outgoing-transactions
[INFO] Processed migration 20140225230939-ripple-lib
[INFO] Processed migration 20140225231223-outgoing-transactions
[INFO] Processed migration 20140307230601-client-resource-id_records
[INFO] Processed migration 20140307231320-outgoing-transactions
[INFO] Done

Done, without errors.
```