Skip to content

Commit

Permalink
initial skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskite committed Feb 7, 2014
1 parent 414b4cf commit c35bdd8
Show file tree
Hide file tree
Showing 8 changed files with 122 additions and 0 deletions.
4 changes: 4 additions & 0 deletions agent/Gemfile
@@ -0,0 +1,4 @@
source 'https://rubygems.org'

gem 'jimson'
gem 'docker-api', :require => 'docker'
28 changes: 28 additions & 0 deletions agent/Gemfile.lock
@@ -0,0 +1,28 @@
GEM
remote: https://rubygems.org/
specs:
archive-tar-minitar (0.5.2)
blankslate (3.1.2)
docker-api (1.7.6)
archive-tar-minitar
excon (>= 0.28)
json
excon (0.31.0)
jimson (0.10.0)
blankslate (~> 3.1.2)
multi_json (~> 1.7.6)
rack (~> 1.4.5)
rest-client (~> 1.6.7)
json (1.8.1)
mime-types (2.1)
multi_json (1.7.9)
rack (1.4.5)
rest-client (1.6.7)
mime-types (>= 1.16)

PLATFORMS
ruby

DEPENDENCIES
docker-api
jimson
Empty file added agent/bin/yarddog-agent
Empty file.
20 changes: 20 additions & 0 deletions agent/provision.sh
@@ -0,0 +1,20 @@
#!/bin/bash

# update the ubuntu system
apt-get update && apt-get -y dist-upgrade && apt-get install -y curl git

# install rvm and ruby
\curl -sSL https://get.rvm.io | bash -s stable
/bin/bash -l -c "rvm requirements"
/bin/bash -l -c "rvm install ruby-2.0.0-p0"
/bin/bash -l -c "rvm use ruby-2.0.0-p0 --default"

# install docker
curl -s https://get.docker.io/ubuntu/ | sh

# setup yarddog-agent
mkdir /src
cd /src
git clone https://github.com/chriskite/yarddog.git
cd yarddog/agent
/bin/bash -l -c "bundle install"
Empty file added server/Dockerfile
Empty file.
6 changes: 6 additions & 0 deletions server/Gemfile
@@ -0,0 +1,6 @@
source 'https://rubygems.org'

gem 'jimson'
gem 'fog'
gem 'pony'
gem 'redis'
64 changes: 64 additions & 0 deletions server/Gemfile.lock
@@ -0,0 +1,64 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (4.0.2)
i18n (~> 0.6, >= 0.6.4)
minitest (~> 4.2)
multi_json (~> 1.3)
thread_safe (~> 0.1)
tzinfo (~> 0.3.37)
atomic (1.1.14)
blankslate (3.1.2)
builder (3.2.2)
excon (0.31.0)
fog (1.20.0)
builder
excon (~> 0.31.0)
formatador (~> 0.2.0)
mime-types
multi_json (~> 1.0)
net-scp (~> 1.1)
net-ssh (>= 2.1.3)
nokogiri (>= 1.5.11)
formatador (0.2.4)
i18n (0.6.9)
jimson (0.10.0)
blankslate (~> 3.1.2)
multi_json (~> 1.7.6)
rack (~> 1.4.5)
rest-client (~> 1.6.7)
mail (2.2.7)
activesupport (>= 2.3.6)
mime-types
treetop (>= 1.4.5)
mime-types (2.1)
mini_portile (0.5.2)
minitest (4.7.5)
multi_json (1.7.9)
net-scp (1.1.2)
net-ssh (>= 2.6.5)
net-ssh (2.8.0)
nokogiri (1.6.1)
mini_portile (~> 0.5.0)
polyglot (0.3.3)
pony (1.6.2)
mail (>= 2.0)
rack (1.4.5)
redis (3.0.7)
rest-client (1.6.7)
mime-types (>= 1.16)
thread_safe (0.1.3)
atomic
treetop (1.4.15)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.38)

PLATFORMS
ruby

DEPENDENCIES
fog
jimson
pony
redis
Empty file added server/config.ru
Empty file.

0 comments on commit c35bdd8

Please sign in to comment.