Skip to content

the-rocci-project/rOCCI-server

Repository files navigation

rOCCI

rOCCI-server - A Ruby-based OCCI server

Travis Gemnasium Code Climate DOI

Requirements

Ruby

  • Ruby 2.2.6+

Services

  • OpenNebula 5.2+ (when using the opennebula backend)
  • Memcache

Installation

Packages

TODO

Source

git clone https://github.com/the-rocci-project/rOCCI-server.git
cd rOCCI-server
bundle install --deployment --without development test

bundle exec bin/oneresource create --endpoint http://one.example.org:2633/RPC2 # --username USER --password PASSWD

export RAILS_ENV=production
export HOST=0.0.0.0
export SECRET_KEY_BASE=$(head -c 69 /dev/urandom | base64 -w 0)

export ROCCI_SERVER_BACKEND=opennebula
export ROCCI_SERVER_OPENNEBULA_ENDPOINT=http://one.example.org:2633/RPC2

bundle exec puma # --daemon

Usage

TODO

Changelog

See CHANGELOG.md.

Code Documentation

Code Documentation for rOCCI-server

Contribute

  1. Fork it
  2. Create a branch (git checkout -b my_markup)
  3. Commit your changes (git commit -am "My changes")
  4. Push to the branch (git push origin my_markup)
  5. Create an Issue with a link to your branch