Skip to content

baylisscg/Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo Project

This is going to be an exemplar project. It's not ready yet so please leave it alone. - Chris

Install

First install Java and JRuby. My recomended way of doing this on *NIX and OS X is using rbenv and ruby-build as follows.

$ cd
$ git clone git://github.com/sstephenson/rbenv.git .rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile

Restart your shell.

$ git clone git://github.com/sstephenson/ruby-build.git
$ cd ruby-build
$ ./install.sh 

Install JRuby.

$ rbenv install jruby-1.7.0-dev

Add the following to your bash profile where TRUSTSTORE and PASSWORD are the .jks truststore for accessing https://projects.eresearch.unimelb.edu.au.

export JRUBY_OPTS="--1.9 -J-Xmx512m -J-Djavax.net.ssl.trustStore=${TRUSTSTORE} -J-Djavax.net.ssl.trustStorePassword=${PASSWORD}"

Restart your shell and ensure all the variables and commands are set up properly then checkout and build this project.

$ git clone git@github.com:AURIN/Demo.git 
$ cd Demo
$ rake run

You should then be able to access the test service at localhost:8080/ping.

Other rake commands include:

  • rake compile - Build the code.
  • rake test - Run the test suite.
  • rake package - Build a .jar

About

A demonstration module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published