Development and testing with Docker » History » Version 10
Tim Pierce, 03/11/2014 05:37 PM
1 | 1 | Tim Pierce | h1. Installing a Development Arvados Instance |
---|---|---|---|
2 | |||
3 | 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. |
||
4 | |||
5 | 8 | Tim Pierce | # Download the Arvados source and switch to the appropriate branch. |
6 | ## @git clone git://git.curoverse.com/arvados.git@ |
||
7 | ## @cd arvados/docker@ |
||
8 | ## @git checkout 2221-complete-docker@ |
||
9 | 10 | Tim Pierce | # *Install the Arvados servers in Docker containers.* |
10 | ## Install the Docker server. Instructions for downloading and installing Ubuntu packages can be found at http://docs.docker.io/en/latest/installation/ubuntulinux/. |
||
11 | ## Run @./build.sh@ to configure and build Arvados in Docker containers. |
||
12 | ### More thorough documentation can be found in the "docker/README.md":https://github.com/curoverse/arvados/blob/master/docker/README.md file in the source distribution. |
||
13 | 9 | Tim Pierce | # *Install the client SDKs.* After following those instructions, install the client libraries on your workstation as well. |
14 | ## @./install_sdk.sh@ should install all of the necessary tools. |
||
15 | ## If it does not work for you, try installing these by hand: |
||
16 | ### *RVM* -- if you do not already have RVM installed on your workstation, install it now. |
||
17 | #### @sudo apt-get install curl libcurl3 libcurl3-gnutls libcurl4-openssl-dev python-pip@ |
||
18 | #### @curl -sSL https://get.rvm.io | bash -s stable@ |
||
19 | #### @source ~/.rvm/scripts/rvm@ |
||
20 | #### @rvm install 2.1.0@ |
||
21 | ### Install the arvados-cli gem: |
||
22 | #### @gem install arvados-cli@ |
||
23 | #### @sudo pip install --upgrade httplib2@ |
||
24 | 1 | Tim Pierce | |
25 | 2 | Tim Pierce | 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. |