Permalink
Browse files

Updating to latest frank (and adding deploy)

  • Loading branch information...
jacquescrocker committed Aug 12, 2010
1 parent 15916f3 commit 83babc67a047b83e0346d11ba65c96f33cceaecc
Showing with 53 additions and 53 deletions.
  1. +2 −1 .gitignore
  2. +3 −2 Gemfile
  3. +15 −6 Gemfile.lock
  4. +22 −0 frankdeploy
  5. +0 −44 settings.yml
  6. +11 −0 setup.rb
View
@@ -1 +1,2 @@
-output/
+output/
+.bundle
View
@@ -1,2 +1,3 @@
-source "http://rubygems.org"
-gem "frank"
+source 'http://rubygems.org'
+gem "frank", :git => "http://github.com/blahed/frank.git", :branch => "0.4.x"
+# gem "frank", :path => "~/Gems/frank"
View
@@ -1,23 +1,32 @@
+GIT
+ remote: http://github.com/blahed/frank.git
+ revision: 2a7c52a
+ branch: 0.4.x
+ specs:
+ frank (0.4.0)
+ haml (>= 3.0)
+ mongrel (>= 1.0)
+ rack (>= 1.0)
+ tilt (= 0.9)
+
GEM
+ remote: http://rubygems.org/
specs:
cgi_multipart_eof_fix (2.5.0)
daemons (1.1.0)
fastthread (1.0.7)
- frank (0.3.2)
- haml (>= 2.0)
- mongrel (>= 1.0)
- rack (>= 1.0)
gem_plugin (0.2.3)
- haml (3.0.13)
+ haml (3.0.16)
mongrel (1.1.5)
cgi_multipart_eof_fix (>= 2.4)
daemons (>= 1.0.3)
fastthread (>= 1.0.1)
gem_plugin (>= 0.2.3)
rack (1.2.1)
+ tilt (0.9)
PLATFORMS
ruby
DEPENDENCIES
- frank
+ frank!
View
@@ -0,0 +1,22 @@
+origdir=`pwd`
+
+# go do some git bullshit
+rm -Rf ~/Sites/know1thing_deploy
+mkdir -p ~/Sites
+
+# setup bundler
+bundle
+bundle exec frankout --production ~/Sites/know1thing_deploy
+
+cd ~/Sites/know1thing_deploy
+
+git init
+git remote add origin git@github.com:railsjedi/know1thing.git
+git fetch
+
+git add .
+git commit -am "regen"
+
+git push origin master:gh-pages --force
+
+cd $origdir
View
@@ -1,44 +0,0 @@
-# ----------------------
-# Server settings:
-#
-# Change the server host/port to bind rack to.
-# 'server' can be any Rack-supported server, e.g.
-# Mongrel, Thin, WEBrick
-#
-server:
- handler: mongrel
- hostname: 0.0.0.0
- port: 4000
-
-# ----------------------
-# Static folder:
-#
-# All files in this folder will be served up
-# directly, without interpretation
-#
-static_folder: static
-
-# ----------------------
-# Dynamic folder:
-#
-# Frank will try to interpret any of the files
-# in this folder based on their extension
-#
-dynamic_folder: dynamic
-
-# ----------------------
-# Layouts folder:
-#
-# Frank will look for layouts in this folder
-# the default layout is `default'
-# it respects nested layouts that correspond to nested
-# folders in the `dynamic_folder'
-# for example: a template: `dynamic_folder/blog/a-blog-post.haml'
-# would look for a layout: `layouts/blog/default.haml'
-# and if not found use the default: `layouts/default.haml'
-#
-# Frank also supports defining layouts on an
-# individual template basis using meta data
-# you can do this by defining a meta field `layout: my_layout.haml'
-#
-layouts_folder: layouts
View
@@ -0,0 +1,11 @@
+Frank.server.port = 4000
+
+Frank.static_folder = "public"
+
+if Frank.production?
+ Frank.options.prefix = "/know1thing/"
+ Compass.configuration.http_images_path = "#{Frank.options.prefix}images"
+else
+ Compass.configuration.http_images_path = "/images"
+end
+

0 comments on commit 83babc6

Please sign in to comment.