GithubHelp home page GithubHelp logo

digideskio / obp-vm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openbankproject/obp-vm

0.0 0.0 0.0 204 KB

Vagrant/Puppet based virtual machine setup scripts for the OpenBankProject-Server

JavaScript 47.47% Puppet 52.53%

obp-vm's Introduction

OpenBankProject-Virtual machine

##About

Vagrant and Puppet scripts to create a Virtual Box VM running the Open Bank Project Server / API

##Goals

Make it easy for a developer to start running a local instance of the OBP Server / API

##License

Apache 2

##Status

Works fine with http://files.vagrantup.com/precise64.box, some tweaking and testing in progress

##Setup

The project uses a Vagrant+Puppet to create/modify a virtualbox-machine, so obviously you'll need Vagrant and VirtualBox installed.
apt-get install vagrant virtualbox

The next step would be to clone this git-repo, if not allready done:
git clone https://github.com/OpenBankProject/OBP-VM

Finally we have to start the process by calling
vagrant up
(from the root directory)

Now go and grab some coffee, it could take a while :)

After finishing the OpenBankProject-Server should run at http://127.0.0.1:7070/OBPS

The entry to the API is http://127.0.0.1:8080/OBPS/obp/v1.0

And an example call: http://127.0.0.1:8080/OBPS/obp/v1.0/banks

For the API documentation see: https://github.com/OpenBankProject/OBP-API/wiki/OBP-Public-Facing-REST-API-V1.0-DRAFT

For ssh access to the vagrant box, the username/password is vagrant/vagrant

##Further commands

Open Postgres shell (password is "obp_password") (Postgres is used for storing OBP website accounts and oauth accounts) vagrant ssh -c "psql -U obp_login -d obp -h localhost"

Open MongoDB shell vagrant ssh -c "mongo localhost/OBP006"

Create new MongoDB banking database
vagrant ssh -c "mongo localhost/OBP006 /vagrant/configs/mktestdb.js"

Restart jetty
vagrant ssh -c "service jetty restart"

##Future

##Files

/Vagrantfile
Vagrant config file; things like port forwarding and file access for the vm. In fact just port forwarding and file access for the vm.

/manifests/default.pp
THE puppet file;

/configs
other files needed like configs for jetty, maven and the mongodb-creation script

obp-vm's People

Contributors

ayoub-benali avatar kernifex avatar pvanisacker avatar simonredfern avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.