Project

General

Profile

Development and testing with Docker » History » Revision 4

Revision 3 (Tim Pierce, 03/11/2014 04:03 PM) → Revision 4/14 (Tim Pierce, 03/11/2014 04:16 PM)

h1. Installing a Development Arvados Instance 

 Arvados is primarily intended as a system to be run on large server clusters.    For developers, we have provided a process to build and deploy the Arvados system in "Docker containers":https://www.docker.io/ on a single machine. 

 # *Install the Arvados servers in Docker containers.* The full process of configuring and building a Docker instance of Arvados is documented in the "docker/README.md":https://github.com/curoverse/arvados/blob/master/docker/README.md file in the source distribution. 
 # *Install the client SDKs.* After following those instructions, install the client libraries on your workstation as well: 
 ## *RVM* -- if you do not already have RVM installed on your workstation, install it now. 
 ### @sudo apt-get install curl libcurl3 libcurl3-gnutls libcurl4-openssl-dev@ 
 ### @sudo sh -c 'curl -sSL https://get.rvm.io | bash -s stable'@ 
 ### @source /etc/profile.d/rvm.sh@ 
 ### @sudo /usr/local/rvm/bin/rvm install 2.1.0@ 
 ### @rvm default 2.1.0@ 
 ## Install the arvados-cli gem: 
 ### @sudo gem install arvados-cli@ 
 

 # *Install the Warehouse client library for Perl.* Running Crunch jobs locally requires having the Warehouse SDK for Perl installed locally. Execute these commands: 
 ## @echo "deb http://git.freelogy.org/apt precise main contrib non-free" | sudo tee -a /etc/apt/sources.list.d/freelogy.list@ 
 ## @wget -q http://dev.freelogy.org/53212765.key -O- | sudo apt-key add -@ 
 ## @sudo apt-get update@ 
 ## @sudo apt-get install libwarehouse-perl@ Follow the instructions at http://factories.freelogy.org/ under "Client Library Installation." 

 Once you have installed the servers and started them with @arvdock start@, and installed the client libraries, you should be able to work through the "user tutorials":http://doc.arvados.org/user/ to upload data into Arvados and run simple Crunch jobs in debug mode.