aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2019-01-09 20:28:56 +0000
committerNat Lasseter <Nat Lasseter nathan@bytemark.co.uk>2019-01-09 20:28:56 +0000
commiteb1fd5b48fc4a86dd7c5080695ac10ad4842a3ed (patch)
tree3f1a6dbd2e057481b0898913ab1f31acf59a0baa /example
parentb4119d5372366ce817f063c279fa5a7b64f47fca (diff)
Change test to example. Change drumsticks to bundler. Remove needless bits of "futureproofing" from drum
Diffstat (limited to 'example')
-rw-r--r--example/.drumkit5
-rw-r--r--example/Gemfile2
-rwxr-xr-xexample/example.rb10
3 files changed, 17 insertions, 0 deletions
diff --git a/example/.drumkit b/example/.drumkit
new file mode 100644
index 0000000..e8b4f81
--- /dev/null
+++ b/example/.drumkit
@@ -0,0 +1,5 @@
+This file will be modified automatically. Only make changes if you know what you are doing. Otherwise, use drum.
+
+BASSDRUM ruby:alpine
+KICKDRUM drum-bass-ruby_alpine-kick-test
+SNAREDRUM drum-bass-ruby_alpine-kick-test-snare-test_rb
diff --git a/example/Gemfile b/example/Gemfile
new file mode 100644
index 0000000..862b4cc
--- /dev/null
+++ b/example/Gemfile
@@ -0,0 +1,2 @@
+source 'https://rubygems.org'
+gem "sinatra"
diff --git a/example/example.rb b/example/example.rb
new file mode 100755
index 0000000..5aed8cb
--- /dev/null
+++ b/example/example.rb
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+
+require 'sinatra'
+
+set :bind, '0.0.0.0'
+set :port, 80
+
+get '/' do
+ 'Put this in your pipe & smoke it!'
+end