Chapter 2.  Installing

Get git from here. Go to bin/ and start service-simple.sh

Required software

The software is built with maven. Use mvn package, and then mvn install to install the common library components. Use mvn jetty:run to run the app.

Database: Need to provide postgres with a database stockstat, and username/password stockstat/password. Use the following:

  su - root
  su - postgres
  psql
  create database stockstat;
  create user stockstat with password 'password';
  grant all privileges on database stockstat to stockstat;