helma / opentox-app-lazar
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
Christoph Helma (author)
Mon Aug 10 06:38:23 -0700 2009
README
A graphical interface for the lazar webservice (http://webservices.in-silico.ch/lazar) INSTALLATION Dependencies and documentation: Ruby (http://www.ruby-lang.org/) Git (http://git-scm.com/) Rubygems (http://rubyforge.org/projects/rubygems/) Gems: Sinatra (http://www.sinatrarb.com/) Rest-client (http://rest-client.heroku.com/) Sinatra-url-for (http://github.com/emk/sinatra-url-for/) Haml (http://haml-lang.com/) Sass (http://sass-lang.com/) Crack (http://github.com/jnunemaker/crack/) Installation instructions for Debian/Ubuntu: 1. Install Debian/Ubuntu packages: sudo apt-get install git-core ruby-full build-essential wget 2. Install rubygems from source (http://rubyforge.org/projects/rubygems/): wget http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz tar xzf rubygems-1.3.5.tgz cd rubygems-1.3.5 sudo ruby setup.rb sudo ln -s /usr/bin/gem1.8 /usr/bin/gem 3. Install gems: sudo gem sources -a http://gems.github.com sudo gem install sinatra rest-client emk-sinatra-url-for haml crack shotgun 4. Install opentox-app-lazar git clone git://github.com/helma/opentox-app-lazar.git or fork opentox-app-lazar on github (http://github.com/helma/opentox-app-lazar) and clone your new repository (see guides on http://github.com) 5. Run opentox-app-lazar a) Development environment cd opentox-app-lazar shotgun lazar.rb point your browser to http://localhost:9393/ b) Production environment cd opentox-app-lazar ruby lazar.rb -e production point your browser to http://localhost:4567/ or deploy with phusion passenger (http://www.modrails.com/)

