Skip to content

Commit

Permalink
adding rackup and compass config
Browse files Browse the repository at this point in the history
  • Loading branch information
Derick Bailey committed Dec 14, 2011
1 parent e5c2de0 commit ce7c531
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
require 'haml'
require 'compass' #must be loaded before sinatra
require 'sinatra'
require 'sinatra/reloader' if development?
require 'haml'
require 'json'


20 changes: 20 additions & 0 deletions config.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Require any additional compass plugins here.

# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "public/css"
sass_dir = "views/stylesheets"
images_dir = "public/images"
javascripts_dir = "public/javascripts"

# You can select your preferred output style here (can be overridden via the command line):
output_style = :compressed #:expanded or :nested or :compact or :compressed

# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true

# To disable debugging comments that display the original location of your selectors. Uncomment:
# line_comments = false

preferred_syntax = :sass

3 changes: 3 additions & 0 deletions config.ru
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require './app'
run Sinatra::Application

0 comments on commit ce7c531

Please sign in to comment.