Skip to content

Commit 6afdc70

Browse files
committed
initial commit
0 parents  commit 6afdc70

17 files changed

Lines changed: 67 additions & 0 deletions

File tree

.gitignore

Whitespace-only changes.

.learn

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
tags:
2+
- tag1
3+
languages:
4+
- language1
5+
resources: 0

.rspec

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--color
2+
--format documentation
3+
--require spec_helper

Gemfile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# A sample Gemfile
2+
source "https://rubygems.org"
3+
4+
# gem "rails"
5+
6+
gem 'sinatra'
7+
gem 'rake'
8+
gem 'thin'
9+
gem 'shotgun'
10+
gem 'pry'
11+
gem 'require_all'
12+
13+
group :test do
14+
gem 'rspec'
15+
gem 'capybara'
16+
gem 'rack-test'
17+
end

LICENSE.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#Learn.co Educational Content License
2+
3+
Copyright (c) 2015 Flatiron School, Inc
4+
5+
The Flatiron School, Inc. owns this Educational Content. However, the Flatiron School supports the development and availability of educational materials in the public domain. Therefore, the Flatiron School grants Users of the Flatiron Educational Content set forth in this repository certain rights to reuse, build upon and share such Educational Content subject to the terms of the Educational Content License set forth [here](http://learn.co/content-license) (http://learn.co/content-license). You must read carefully the terms and conditions contained in the Educational Content License as such terms govern access to and use of the Educational Content.
6+
7+
Flatiron School is willing to allow you access to and use of the Educational Content only on the condition that you accept all of the terms and conditions contained in the Educational Content License set forth [here](http://learn.co/content-license) (http://learn.co/content-license). By accessing and/or using the Educational Content, you are agreeing to all of the terms and conditions contained in the Educational Content License. If you do not agree to any or all of the terms of the Educational Content License, you are prohibited from accessing, reviewing or using in any way the Educational Content.

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
tags:
3+
languages:
4+
resources:
5+
---
6+
7+
# Basic Sinatra Forms Lab

Rakefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
ENV["SINATRA_ENV"] ||= "development"
2+
3+
require_relative './config/environment'
4+
5+
# Type `rake -T` on your command line to see the available rake tasks.
6+
7+
task :console do
8+
Pry.start
9+
end

app.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
require_relative 'config/environment'
2+
3+
class App < Sinatra::Base
4+
end

config.ru

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
require './config/environment'
2+
3+
run App

config/environment.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
ENV['SINATRA_ENV'] ||= "development"
2+
3+
require 'bundler/setup'
4+
Bundler.require(:default, ENV['SINATRA_ENV'])
5+
6+
require './app'
7+
require_all 'models'

0 commit comments

Comments
 (0)