Giter Club home page Giter Club logo

basespace-dojo's Introduction

README

This README would normally document whatever steps are necessary to get the application up and running.

In order to make this experimental Illumina BaseSpace’s application to run you need to follow these steps:

Ruby Setup

Ruby and Rails can be conveniently installed via the Ruby Version Manager (RVM):

\curl https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer | bash -s stable --rails

On Mac OS X, Ruby comes preinstalled. However, for the development installation using RVM, it is necessary to install [MacPorts](www.macports.org/install.php) and then execute ‘sudo port install curl`.

Note: On both Linux and Mac OS X it is necessary to have superuser (“sudo”) permissions.

Ninja & Dojo

Train a Ninja to sneak into the Dojo

git clone https://github.com/helios/basespace-ninja
cd basespace-ninja
bundle install
rake gemspec

Setup the Dojo with the hidden Ninja inside

git clone https://github.com/helios/basespace-dojo
cd basespace-dojo
bundle install

Entering BaseSpace

Use the Ninja’ secrets for accessing BaseSapce, create a file name

credentials.json

with your credentialns

{
  "client_id":      "",
  "client_secret":  "",
  "app_session_id": "",
  "access_token":   "",
  "basespace_url":  "https://api.basespace.illumina.com/",
  "api_version":    "v1pre3"
}

Open the Dojo to the public

BASESPACE_CREDENTIALS=path_to_your_json_credentials_file rails s

Further Work

Things you may want to cover:

  • Ruby version

  • System dependencies

  • Configuration

  • Database creation

  • Database initialization

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

  • Deployment instructions

Please feel free to use a different markup language if you do not plan to run rake doc:app.

Troubleshooting

BaseSpace Ruby SDK is not deployed as a gem yet. The development version can be installed using bundler like Dojo and Ninja above, but that does not work on all systems. The sure-fire way of instally BaseSpace Ruby SDK is:

git clone https://github.com/joejimbo/basespace-ruby-sdk.git
cd basespace-ruby-sdk
rake gemspec
gem build bio-basespace-sdk.gemspec
gem install bio-basespace-sdk-0.1.2.gem

basespace-dojo's People

Contributors

kimjbaran avatar rjpbonnal avatar

Watchers

 avatar  avatar  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.