Skip to content

Commit c3f70f4

Browse files
committed
Initial Commit
Add files
1 parent 293d0b2 commit c3f70f4

14 files changed

+7161
-0
lines changed

Gemfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
source 'https://rubygems.org'
2+
3+
gem 'serve', '1.5.2', git: 'git://github.com/danielstutzman/serve.git'
4+
5+
# for Rails form helpers
6+
gem 'actionpack', '~> 4.0.0', require: 'action_view'
7+
8+
gem 'rack-piwik', git: 'git://github.com/danielstutzman/rack-piwik.git'
9+
#gem 'rack-piwik', path: '/Users/daniel/dev/rack-piwik'

Gemfile.lock

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
GIT
2+
remote: git://github.com/danielstutzman/rack-piwik.git
3+
revision: 2c08a1c3695ce642c852f9fbed63485a8e2d18be
4+
specs:
5+
rack-piwik (0.0.1)
6+
rack
7+
8+
GIT
9+
remote: git://github.com/danielstutzman/serve.git
10+
revision: c5c15dc574d1dccac73b84eaffe1e70624b37020
11+
specs:
12+
serve (1.5.2)
13+
activesupport (> 3.2.12)
14+
i18n
15+
rack (~> 1.5.2)
16+
rack-test (~> 0.6.2)
17+
tilt (~> 1.3.3)
18+
tzinfo
19+
20+
GEM
21+
remote: https://rubygems.org/
22+
specs:
23+
actionpack (4.0.0)
24+
activesupport (= 4.0.0)
25+
builder (~> 3.1.0)
26+
erubis (~> 2.7.0)
27+
rack (~> 1.5.2)
28+
rack-test (~> 0.6.2)
29+
activesupport (4.0.0)
30+
i18n (~> 0.6, >= 0.6.4)
31+
minitest (~> 4.2)
32+
multi_json (~> 1.3)
33+
thread_safe (~> 0.1)
34+
tzinfo (~> 0.3.37)
35+
atomic (1.1.14)
36+
builder (3.1.4)
37+
erubis (2.7.0)
38+
i18n (0.6.5)
39+
minitest (4.7.5)
40+
multi_json (1.8.1)
41+
rack (1.5.2)
42+
rack-test (0.6.2)
43+
rack (>= 1.0)
44+
thread_safe (0.1.3)
45+
atomic
46+
tilt (1.3.7)
47+
tzinfo (0.3.37)
48+
49+
PLATFORMS
50+
ruby
51+
52+
DEPENDENCIES
53+
actionpack (~> 4.0.0)
54+
rack-piwik!
55+
serve (= 1.5.2)!

config.ru

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
require 'rubygems'
2+
require 'bundler'
3+
begin
4+
Bundler.setup(:default, :development)
5+
rescue Bundler::BundlerError => e
6+
$stderr.puts e.message
7+
$stderr.puts "Run `bundle install` to install missing gems"
8+
exit e.status_code
9+
end
10+
11+
require 'serve'
12+
require 'serve/rack'
13+
require 'action_view' # for Rails form helpers
14+
15+
# The project root directory
16+
root = ::File.dirname(__FILE__)
17+
18+
require 'rack/piwik'
19+
use Rack::Piwik, piwik_url: "http://www.davincicoders2013.info/analytics/"
20+
21+
# Other Rack Middleware
22+
use Rack::ShowStatus # Nice looking 404s and other messages
23+
use Rack::ShowExceptions # Nice looking errors
24+
25+
run Rack::Cascade.new([
26+
Serve::RackAdapter.new(root + '/views'),
27+
Rack::Directory.new(root + '/public')
28+
])
13.7 KB
Binary file not shown.

public/fonts/glyphicons-halflings-regular.svg

+228
Loading
28.8 KB
Binary file not shown.
16.1 KB
Binary file not shown.

public/images/.gitkeep

Whitespace-only changes.

public/javascripts/.gitkeep

Whitespace-only changes.

public/stylesheets/application.css

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
html {
2+
background-color: #eee;
3+
}
4+
body {
5+
width: 760px;
6+
margin: 20px auto;
7+
background-color: white;
8+
border: 3px #ccc solid;
9+
padding: 30px;
10+
font-family: sans-serif;
11+
font-size: 16pt;
12+
}

0 commit comments

Comments
 (0)