Permalink
Browse files

renew

  • Loading branch information...
0 parents commit 3fb0d024be081c2ef9c7fbc3a7e5251317c50db3 Jon committed Feb 7, 2012
Showing with 17,530 additions and 0 deletions.
  1. +9 −0 .gitignore
  2. +6 −0 Gemfile
  3. +32 −0 Gemfile.lock
  4. +37 −0 README
  5. +7 −0 Rakefile
  6. +9 −0 app.rb
  7. +13 −0 config.bac
  8. +7 −0 config.ru
  9. +13 −0 config/deploy.rb
  10. +585 −0 public/bootstrap/css/bootstrap-responsive.css
  11. +3 −0 public/bootstrap/css/bootstrap-responsive.min.css
  12. +3,365 −0 public/bootstrap/css/bootstrap.css
  13. +610 −0 public/bootstrap/css/bootstrap.min.css
  14. BIN public/bootstrap/img/glyphicons-halflings-white.png
  15. BIN public/bootstrap/img/glyphicons-halflings.png
  16. +91 −0 public/bootstrap/js/basic/bootstrap-alert.js
  17. +98 −0 public/bootstrap/js/basic/bootstrap-button.js
  18. +154 −0 public/bootstrap/js/basic/bootstrap-carousel.js
  19. +136 −0 public/bootstrap/js/basic/bootstrap-collapse.js
  20. +92 −0 public/bootstrap/js/basic/bootstrap-dropdown.js
  21. +209 −0 public/bootstrap/js/basic/bootstrap-modal.js
  22. +95 −0 public/bootstrap/js/basic/bootstrap-popover.js
  23. +125 −0 public/bootstrap/js/basic/bootstrap-scrollspy.js
  24. +130 −0 public/bootstrap/js/basic/bootstrap-tab.js
  25. +270 −0 public/bootstrap/js/basic/bootstrap-tooltip.js
  26. +51 −0 public/bootstrap/js/basic/bootstrap-transition.js
  27. +271 −0 public/bootstrap/js/basic/bootstrap-typeahead.js
  28. +1,726 −0 public/bootstrap/js/bootstrap.js
  29. +1 −0 public/bootstrap/js/bootstrap.min.js
  30. +9,252 −0 public/bootstrap/js/jquery.js
  31. +4 −0 public/css/styles.css
  32. +3 −0 views/footer.haml
  33. +35 −0 views/index.haml
  34. +71 −0 views/layout.haml
  35. +20 −0 views/navbar.haml
@@ -0,0 +1,9 @@
+*~
+*.swp
+config/db.rb
+*.sublime*
+.rvmrc
+ghostandthemachines.com
+sinatra-haml-bootstrap-hero.sublime-project
+sinatra-haml-bootstrap-hero.sublime-workspace
+.DS_Store
@@ -0,0 +1,6 @@
+source :rubygems
+
+gem "dm-core"
+gem "sinatra"
+gem "haml"
+gem "shotgun"
@@ -0,0 +1,32 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ addressable (2.2.6)
+ dm-core (1.2.0)
+ addressable (~> 2.2.6)
+ haml (3.1.4)
+ rack (1.4.1)
+ rack-protection (1.2.0)
+ rack
+<<<<<<< HEAD
+=======
+ shotgun (0.9)
+ rack (>= 1.0)
+>>>>>>> 3f58f8fc8a391cdcfbeb6218cb465345bc19fca6
+ sinatra (1.3.2)
+ rack (~> 1.3, >= 1.3.6)
+ rack-protection (~> 1.2)
+ tilt (~> 1.3, >= 1.3.3)
+ tilt (1.3.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ dm-core
+ haml
+<<<<<<< HEAD
+=======
+ shotgun
+>>>>>>> 3f58f8fc8a391cdcfbeb6218cb465345bc19fca6
+ sinatra
37 README
@@ -0,0 +1,37 @@
+Sinatra, Haml and Bootstrap kick ass so I wanted to make a bare bones project to
+start from which would get the setup hassle out of the way.
+
+Additionally, I thought remaking the example projects would be a good way to get
+compfortable with bootstrap and this arangement. The examples from the
+Twitter.github.com site can be found at
+http://twitter.github.com/bootstrap/examples.html
+
+The Sinatra, Haml, Bootstrap versions can be found here
+- Starter ->
+ https://github.com/ghostandthemachine/sinatra-haml-bootstrap-starter
+- Hero -> https://github.com/ghostandthemachine/sinatra-haml-bootstrap-hero
+- Fluid -> https://github.com/ghostandthemachine/sinatra-haml-bootstrap-fluid
+
+
+Setup:
+
+ All of the example projects and the bare bones project are set up with:
+ - Bundler
+ - Shotgun
+ - Rack
+ - Haml
+ - Vlad the Deployer
+
+ To get up and running all that should be needed is to install the Ruby gem
+Bundler if up don't already have it installed then run:
+ - $ bundle install
+
+ That should install everything that is need for the app to run. To start it
+run:
+ - $ shotgun
+
+ As is the case with any Shotgun app you can update the config.ru file to
+change Shotgun settings. Like wise /config/deploy.rb for the Vlad settings and
+Gemfile for your bundler install settings
+
+enjoy!
@@ -0,0 +1,7 @@
+begin
+ require 'vlad'
+ Vlad.load(app: nil, scm: 'git')
+rescue LoadError
+ # do nada
+end
+
9 app.rb
@@ -0,0 +1,9 @@
+
+require 'sinatra'
+require 'haml'
+
+
+get '/' do
+ haml :index
+end
+
@@ -0,0 +1,13 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = false
+ logallrefupdates = true
+ ignorecase = true
+[remote "origin"]
+ url = git@ghostandthemachines.com:sinatra-haml-bootstrap-hero.git
+ fetch = +refs/heads/*:refs/remotes/origin/*
+
+[remote "all"]
+ url = git@github.com:ghostandthemachine/sinatra-haml-bootstrap-hero.git
+ url = git@ghostandthemachines.com:sinatra-haml-bootstrap-hero.git
@@ -0,0 +1,7 @@
+path = File.expand_path("../", __FILE__)
+
+require 'rubygems'
+require 'sinatra'
+require "#{path}/app"
+
+run Sinatra::Application
@@ -0,0 +1,13 @@
+<<<<<<< HEAD
+set :application, "ghostandthemachines.com/sinatra-haml-bootstrap-basic-hero"
+set :user, "jon"
+set :repository, "git@ghostandthemachines.com:sinatra-haml-bootstrap-hero.git"
+set :domain, "ghostandthemachines.com"
+set :deploy_to, "~/sites/#{application}"
+=======
+set :application, "yoursite.com/sinatra-haml-bootstrap-basic-hero"
+set :user, "user"
+set :repository, "git@yourrepo.com:sinatra-haml-bootstrap-hero.git"
+set :domain, "yoursite.com"
+set :deploy_to, "~/sites/#{application}"
+>>>>>>> 3f58f8fc8a391cdcfbeb6218cb465345bc19fca6
Oops, something went wrong.

0 comments on commit 3fb0d02

Please sign in to comment.