Skip to content

ese-unibe-ch/ese2012-team6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trading App ESE 2012 Team 6

Installation

Windows

  • After you've installed rubymine, download Ruby 1.8.7-p330 Binary (http://www.ruby-lang.org/de/downloads/)
  • In Rubymine: Open the properties and choose the Ruby 1.8.7 as SDK.(Usually located at C:Ruby187)
  • Add the path of this folder to the environment variables of the System. (Systemsteuerung\System und \nSicherheit\System => Rechtsklick-Eigenschaften => Umgebungsvariablen => Path: C:\Ruby187\bin)
  • Install the Devkit (https://github.com/oneclick/rubyinstaller/wiki/Development-Kit)
  • Console: gem install bundler
  • Console: checkout this project, then use bundle install

Linux

You need to have a working version of Ruby 1.8.7 installed on your system. Please refer to your distribution's user forums on how to install Ruby 1.8.7 on your system. You also have to be able to install third-party gems. (see http://rubygems.org/pages/download)

  • open terminal
  • Download bundler gem: sudo gem install bundler
  • Navigate to project root folder
  • Install gems: sudo bundle install

(sudo may or may not be necessary on your system

Mac OSX

Ruby 1.8.7 is already pre-installed on OSX. Install bundler gem (see Linux) and just run sudo bundle install and type in your admin password to install the required gems.

Running

Linux and OSX

All files are placed within a trade folder. To run the app please navigate to the project root and then

cd trade

and finally

ruby app/app.rb

Windows

  • Console: navigate to the project root cd ese2012-team6/trade
  • To start the app use ruby app/app.rb