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

Add basic template

parent 30c44b42
...@@ -6,3 +6,4 @@ ...@@ -6,3 +6,4 @@
/db/*.sqlite3-journal /db/*.sqlite3-journal
.DS_Store .DS_Store
public/assets public/assets
/vendor
...@@ -8,7 +8,7 @@ gem 'sinatra' ...@@ -8,7 +8,7 @@ gem 'sinatra'
gem 'sinatra-contrib' gem 'sinatra-contrib'
gem 'sinatra-activerecord' gem 'sinatra-activerecord'
gem 'puma' gem 'thin'
gem 'tux' gem 'tux'
# These gems are only installed when run as `bundle install --without production` # These gems are only installed when run as `bundle install --without production`
...@@ -20,6 +20,6 @@ end ...@@ -20,6 +20,6 @@ end
# bundle install --without test --without development # bundle install --without test --without development
group :production do 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' gem 'pg'
end end
...@@ -19,6 +19,8 @@ GEM ...@@ -19,6 +19,8 @@ GEM
bond (0.5.1) bond (0.5.1)
builder (3.2.2) builder (3.2.2)
coderay (1.1.0) coderay (1.1.0)
daemons (1.2.4)
eventmachine (1.2.0.1)
i18n (0.7.0) i18n (0.7.0)
json (1.8.3) json (1.8.3)
method_source (0.8.2) method_source (0.8.2)
...@@ -29,7 +31,6 @@ GEM ...@@ -29,7 +31,6 @@ GEM
coderay (~> 1.1.0) coderay (~> 1.1.0)
method_source (~> 0.8.1) method_source (~> 0.8.1)
slop (~> 3.4) slop (~> 3.4)
puma (2.15.3)
rack (1.6.4) rack (1.6.4)
rack-protection (1.5.3) rack-protection (1.5.3)
rack rack
...@@ -62,6 +63,10 @@ GEM ...@@ -62,6 +63,10 @@ GEM
tilt (>= 1.3, < 3) tilt (>= 1.3, < 3)
slop (3.6.0) slop (3.6.0)
sqlite3 (1.3.11) 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) thread_safe (0.3.5)
tilt (2.0.1) tilt (2.0.1)
tux (0.3.0) tux (0.3.0)
...@@ -79,14 +84,11 @@ DEPENDENCIES ...@@ -79,14 +84,11 @@ DEPENDENCIES
activesupport activesupport
pg pg
pry pry
puma
rake rake
shotgun shotgun
sinatra sinatra
sinatra-activerecord sinatra-activerecord
sinatra-contrib sinatra-contrib
sqlite3 sqlite3
thin
tux tux
BUNDLED WITH
1.12.1
# Homepage (Root path) # Homepage (Root path)
get '/' do get '/' do
@variable = 'Lorem ipsum'
erb :index erb :index
end end
<h1>Home Page</h1> <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