Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adding rackup and compass config

  • Loading branch information...
commit ce7c531710dc1b3436bea0094eac9df436bcebcc 1 parent e5c2de0
@derickbailey authored
Showing with 25 additions and 3 deletions.
  1. +2 −3 app.rb
  2. +20 −0 config.rb
  3. +3 −0  config.ru
View
5 app.rb
@@ -1,6 +1,5 @@
-require 'haml'
+require 'compass' #must be loaded before sinatra
require 'sinatra'
require 'sinatra/reloader' if development?
+require 'haml'
require 'json'
-
-
View
20 config.rb
@@ -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
+
View
3  config.ru
@@ -0,0 +1,3 @@
+require './app'
+run Sinatra::Application
+
Please sign in to comment.
Something went wrong with that request. Please try again.