Skip to content

Instantly share code, notes, and snippets.

@jmatsushita
Created July 3, 2013 13:51
Show Gist options
  • Save jmatsushita/5918010 to your computer and use it in GitHub Desktop.
Save jmatsushita/5918010 to your computer and use it in GitHub Desktop.
OBP
Install on Ubuntu
=================
Looked at the OBP-VM instructions to setup from source.
Social Finance (aka OBP Server)
-------------------------------
cd /opt
git clone https://github.com/OpenBankProject/Social-Finance.git obps
cd obps
git checkout develop # the props file is not on the master branch
mvn jetty:run
cd src/main/resources/props/
mv sample.props.template default.props
vi default.props # Follow instructions on PROP FILES here https://github.com/OpenBankProject/Social-Finance
OBP-API
-------
cd /opt
git clones https://github.com/OpenBankProject/OBP-API.git opb-api
cd obp-api
apt-get install mongodb
wget https://raw.github.com/OpenBankProject/OBP-VM/master/configs/mktestdb.js
mongo localhost/OBP006 mktestdb.js
apt-get install postgres
su - postgres
psql
postgres=# CREATE USER obp_login WITH PASSWORD 'somepassword';
postgres=# CREATE DATABASE obp;
postgres=# GRANT ALL PRIVILEGES ON DATABASE obp to obp_login;
exit
mvn -D jetty.port=7070 jetty:run
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment