Commit 919c7c61 authored by Jose Luis Salas's avatar Jose Luis Salas

Add basic template

parent 30c44b42
......@@ -6,3 +6,4 @@
/db/*.sqlite3-journal
.DS_Store
public/assets
/vendor
......@@ -8,7 +8,7 @@ gem 'sinatra'
gem 'sinatra-contrib'
gem 'sinatra-activerecord'
gem 'puma'
gem 'thin'
gem 'tux'
# These gems are only installed when run as `bundle install --without production`
......@@ -20,6 +20,6 @@ end
# bundle install --without test --without development
group :production do
# use postgres in production, or move outside a group if your app uses postgres for development and production
# use postgres in production, or move outside a group if your app uses postgres for development and production
gem 'pg'
end
......@@ -19,6 +19,8 @@ GEM
bond (0.5.1)
builder (3.2.2)
coderay (1.1.0)
daemons (1.2.4)
eventmachine (1.2.0.1)
i18n (0.7.0)
json (1.8.3)
method_source (0.8.2)
......@@ -29,7 +31,6 @@ GEM
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
puma (2.15.3)
rack (1.6.4)
rack-protection (1.5.3)
rack
......@@ -62,6 +63,10 @@ GEM
tilt (>= 1.3, < 3)
slop (3.6.0)
sqlite3 (1.3.11)
thin (1.7.0)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thread_safe (0.3.5)
tilt (2.0.1)
tux (0.3.0)
......@@ -79,14 +84,11 @@ DEPENDENCIES
activesupport
pg
pry
puma
rake
shotgun
sinatra
sinatra-activerecord
sinatra-contrib
sqlite3
thin
tux
BUNDLED WITH
1.12.1
# Homepage (Root path)
get '/' do
@variable = 'Lorem ipsum'
erb :index
end
<h1>Home Page</h1>
<%= @variable %>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment