1. Copy `config.yml.example' to `config.yml' and edit it with settings
for your installation.
-2. Run `./config.rb' to generate configuration files.
-
-3. Run `./build.sh' to build the following Docker images:
+2. Run `make' to build the following Docker images:
arvados/api - the Arvados API server
arvados/docserver - Arvados documentation
arvados/warehouse - Keep, the Arvados content-addressable filesystem
arvados/workbench - the Arvados console
+ You may also run `make api', `make docserver', etc. to make
+ images for individual Arvados services.
+
DEPLOYING
---------
controller.$API_HOSTNAME
workbench.$API_HOSTNAME
- 2. Provision your Omniauth server with the APP_ID and
- APP_SECRET from api/omniauth.rb.
-
- 3. Deploying API:
+ 2. Deploying API:
docker run -p 80:80 -p 443:443 arvados/api
- 4. Deploying Keep:
+ 3. Deploying Keep:
mkdir /tmp/keepfs
mount -t tmpfs -o size=512M tmpfs /tmp/keepfs
docker run -p 25107:25107 -v /tmp/keepfs:/dev/keep-0 arvados/warehouse
# * git, curl, rvm
# * Arvados source code
#
- RUN apt-get update && \
- apt-get -q -y install -q -y apt-utils && \
- apt-get -q -y install git curl && \
+ RUN apt-get update ;\
+ apt-get -q -y install -q -y apt-utils git curl locales ;\
+ /bin/sed -ri 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen ;\
+ /usr/sbin/locale-gen ;\
curl -L https://get.rvm.io | bash -s stable --ruby=2.0.0
# Set up RVM environment. These are just the env variables created by
ENV GEM_PATH /usr/local/rvm/gems/ruby-2.0.0-p247:/usr/local/rvm/gems/ruby-2.0.0-p247@global
ENV PATH /usr/local/rvm/gems/ruby-2.0.0-p247/bin:/usr/local/rvm/gems/ruby-2.0.0-p247@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p247/bin:/usr/local/rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
++# Update gem. This (hopefully) fixes
++# https://github.com/rubygems/rubygems.org/issues/613.
+RUN gem update --system
+
+ ENV DEBIAN_FRONTEND noninteractive
++