0.1.0 • Published 11 years ago

librr v0.1.0

Weekly downloads
10
License
-
Repository
-
Last release
11 years ago

librr

A RoadRunner library wrapper.

Installation

  1. Use git to clone the repository: git clone git://github.com/stanley-gu/librr.git
  2. Go into the librr project folder: cd librr
  3. Install required packages npm install

Development

Vagrant

Development can be done using Vagrant. Vagrant allows you to develop in a virtual environment (virtual machine). A custom built VM (based on Ubuntu 12.04 32-bit) that already has RoadRunner and its dependencies installed is available.

To setup the development environment:

Install Vagrant

Download Vagrant. (VirtualBox is also a requirement).

Build the virtual environment

Download the prepared virtual machine image here. Unzip and locate package.box.

Add the VM to Vagrant with:

    $ vagrant box add rr package.box

Find a directory, or make a new one, to initialize the box. This directory will be mounted at /vagrant as a VirtualBox shared folder automatically.

    $ vagrant init rr # initializes directory for use with Vagrant and the librr box
    
    $ vagrant up # this starts the virtual machine containing RoadRunner

SSH into the virtual environment

`$ vagrant ssh`

Find the project files

* The project files for RoadRunner and `librr` are located in the home
  directory (`/home/vagrant/rr` and `/home/vagrant/librr`).

Run Tests

  1. npm test

Current Status

  • librr_c_api loads okay, but error occurs during simulation
Loading SBML into simulator
Processing model: Feedback
Compiler command:  2>&1 >> compilation.log
Compile system call returned: 512
Creating DLL failed..
0.1.0

11 years ago

0.0.2

11 years ago