CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Wed, 06 Aug 2025 15:35:26 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20090917082806
location: https://web.archive.org/web/20090917082806/https://github.com/zapnap/sinatra-template
server-timing: captures_list;dur=0.921166, exclusion.robots;dur=0.033652, exclusion.robots.policy;dur=0.016393, esindex;dur=0.017438, cdx.remote;dur=99.404892, LoadShardBlock;dur=486.820299, PetaboxLoader3.datanode;dur=247.477354, PetaboxLoader3.resolve;dur=121.951360
x-app-server: wwwb-app224
x-ts: 302
x-tr: 647
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app224; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Wed, 06 Aug 2025 15:35:28 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.6.35
x-archive-orig-date: Thu, 17 Sep 2009 08:28:06 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "9e16364dc6ff0b6d83bd20fc74f59a60"
x-archive-orig-x-runtime: 277ms
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-orig-content-length: 25995
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 17 Sep 2009 08:28:06 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Fri, 20 Feb 2009 18:43:17 GMT", ; rel="prev memento"; datetime="Sun, 09 Aug 2009 12:02:36 GMT", ; rel="memento"; datetime="Thu, 17 Sep 2009 08:28:06 GMT", ; rel="next memento"; datetime="Tue, 29 Dec 2009 14:24:46 GMT", ; rel="last memento"; datetime="Fri, 18 Oct 2024 12:15:42 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_11_20090917031240_crawl101_IndexOnly.gpg-c/51_11_20090917082605_crawl101.arc.gz
server-timing: captures_list;dur=0.725903, exclusion.robots;dur=0.026483, exclusion.robots.policy;dur=0.011861, esindex;dur=0.015005, cdx.remote;dur=17.636640, LoadShardBlock;dur=83.843086, PetaboxLoader3.datanode;dur=162.190614, load_resource;dur=1302.506749, PetaboxLoader3.resolve;dur=1191.248463
x-app-server: wwwb-app224
x-ts: 200
x-tr: 1475
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
zapnap's sinatra-template at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | A base Sinatra application template with DataMapper, RSpec, and Haml. Just fork and build. edit |
Homepage: | edit |
Public Clone URL: |
git://github.com/zapnap/sinatra-template.git
Give this clone URL to anyone.
git clone git://github.com/zapnap/sinatra-template.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:zapnap/sinatra-template.git
|
name | age | message | |
---|---|---|---|
![]() |
MIT-LICENSE | Fri Jan 23 11:06:35 -0800 2009 | initial import [zapnap] |
![]() |
README.rdoc | Sun Jan 25 10:56:44 -0800 2009 | update instructions [zapnap] |
![]() |
Rakefile | Wed Apr 01 21:13:53 -0700 2009 | because Rack::Test is the new hotness [zapnap] |
![]() |
application.rb | Wed Mar 25 08:32:01 -0700 2009 | backtrace dump should use Kernel.puts [zapnap] |
![]() |
config.ru | Sun Aug 16 08:00:07 -0700 2009 | fix sinatra logging under passenger [zapnap] |
![]() |
environment.rb | Fri Jan 23 11:06:35 -0800 2009 | initial import [zapnap] |
![]() |
lib/ | Fri Jan 23 11:06:35 -0800 2009 | initial import [zapnap] |
![]() |
public/ | Fri Jan 23 11:06:35 -0800 2009 | initial import [zapnap] |
![]() |
spec/ | Fri Apr 03 17:21:52 -0700 2009 | sample spec language cleanup [zapnap] |
![]() |
views/ | Fri Jan 23 11:06:35 -0800 2009 | initial import [zapnap] |
README.rdoc
Sinatra Application Template
A base Sinatra application template. Just fork and build. Yay! Includes DataMapper, RSpec, and Haml, all ready to go.
Configuration
Dependencies and all configuration is done in environment.rb. Your database is also set up here. DataMapper will use sqlite3 by default. Tests use the sqlite3-memory adapter (no configuration needed).
Add your controller actions in application.rb. Views for these actions are placed in the views directory. Static files, including a stock stylesheet, go in the public directory. Models go in the lib directory and are auto-loaded.
Testing
Add your specs in spec; just require spec_helper.rb to pre-configure the test environment. A number of samples are provided (including a sample model, which can be removed). To run the specs:
rake spec
Getting Started
rake db:migrate ruby application.rb
This feature is coming soon. Sit tight!