Skip to content

Commit

Permalink
Simplifying template
Browse files Browse the repository at this point in the history
  • Loading branch information
winton committed Jun 11, 2012
1 parent 38748a6 commit aab73e4
Show file tree
Hide file tree
Showing 57 changed files with 53 additions and 20,779 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@
.sass-cache
config/aws.yml
Gemfile.lock
dump.rdb
pkg
tmp
36 changes: 36 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
source :rubygems

# Please remove or comment out unused gems!

# ENGINE FILE EXTENSIONS REQUIRED LIBRARIES
# -------------------------- ----------------------- ----------------------------
# ERB .erb, .rhtml none (included ruby stdlib)
# Interpolated String .str none (included ruby core)
gem 'erubis' # Erubis .erb, .rhtml, .erubis erubis
gem 'haml' # Haml .haml haml
gem 'sass' # Sass .sass haml (< 3.1) or sass (>= 3.1)
# Scss .scss haml (< 3.1) or sass (>= 3.1)
gem 'less' # Less CSS .less less
gem 'builder' # Builder .builder builder
gem 'liquid' # Liquid .liquid liquid
gem 'rdiscount' # RDiscount .markdown, .mkd, .md rdiscount
gem 'redcarpet' # Redcarpet .markdown, .mkd, .md redcarpet
gem 'bluecloth' # BlueCloth .markdown, .mkd, .md bluecloth
gem 'kramdown' # Kramdown .markdown, .mkd, .md kramdown
gem 'maruku' # Maruku .markdown, .mkd, .md maruku
gem 'RedCloth' # RedCloth .textile redcloth
gem 'rdoc' # RDoc .rdoc rdoc
gem 'radius' # Radius .radius radius
gem 'markaby' # Markaby .mab markaby
gem 'nokogiri' # Nokogiri .nokogiri nokogiri
gem 'coffee-script' # CoffeeScript .coffee coffee-script (+ javascript)
gem 'creole' # Creole (Wiki markup) .wiki, .creole creole
gem 'wikicloth' # WikiCloth (Wiki markup) .wiki, .mediawiki, .mw wikicloth
gem 'yajl-ruby' # Yajl .yajl yajl-ruby


gem "smart_asset" # Asset compression with UglifyJS.
# Remove config/assets.yml if not using this gem.


gem "stasis" # Do not remove!
40 changes: 12 additions & 28 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,48 +2,32 @@

[Stasis](http://stasis.me) project template.

Use this project to develop a static web site and deploy it to S3.
Use this template to develop an awesome static web site.

#The Stack
##Install gitcms

Development:
gem install gitcms

* [Stasis](http://stasis.me)
* [Haml](http://haml-lang.com/), [Sass](http://sass-lang.com), [CoffeeScript](http://coffeescript.org), and [many other languages](http://stasis.me/#more)
* [SmartAsset](http://winton.github.com/smart_asset)
##Create project

Deploy:
gitcms new my_project

* [AWS::S3](http://amazon.rubyforge.org)
##Install dependencies

##Install these

* [RubyGems](http://rubygems.org)
* [Bundler](http://gembundler.com)
* [NPM](http://npmjs.org)
* [CoffeeScript](http://coffeescript.org)

##Start a new project

git clone git@github.com:winton/stasis_template.git
cd stasis_template
rake install
bundle install

##Start developing

rake dev

## Configure AWS
gitcms server

cp config/aws.example.yml config/aws.yml
$EDITOR config/aws.yml
## Deploy

## Deploy (upload to S3)
Sign up at [gitcms](http://gitcms.com) and deploy to [CloudFront](http://aws.amazon.com/cloudfront) in one step:

rake deploy
gitcms deploy

## Stay up to date

[Watch this project](https://github.com/winton/booklet#) on Github.
[Watch this project](https://github.com/winton/stasis_template#) on Github.

[Follow Winton Welsh](http://twitter.com/intent/user?screen_name=wintonius) on Twitter.
96 changes: 0 additions & 96 deletions Rakefile

This file was deleted.

5 changes: 5 additions & 0 deletions controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
require "bundler/setup"
Bundler.require(:default)

ignore /\/_.*/, /\/config/, /\/css\/lib\/bootstrap\//, /Gemfile/
layout 'layout.html.haml'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions public/css/application.css

This file was deleted.

17 changes: 0 additions & 17 deletions public/css/d80dfab6_application.css

This file was deleted.

84 changes: 0 additions & 84 deletions public/index.html

This file was deleted.

5 changes: 0 additions & 5 deletions public/js/6a20ea9f_application.js

This file was deleted.

22 changes: 0 additions & 22 deletions public/js/application.js

This file was deleted.

35 changes: 0 additions & 35 deletions run.sh

This file was deleted.

9 changes: 0 additions & 9 deletions stasis/Gemfile

This file was deleted.

Loading

0 comments on commit aab73e4

Please sign in to comment.