Skip to content

trevorturk/static

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static

Static is a super simple Rails CMS for Heroku.

Screenshot

Screenshot

Install

Get the app running in your local development environment:

gem install rails -v 2.3.8
gem install paperclip -v 2.3.3
gem install aws-s3 -v 0.6.2
git clone git://github.com/trevorturk/static.git
cd static
cp config/database.example.yml config/database.yml
rake db:create
rake db:schema:load
rake db:seed
script/server

Visit http://localhost:3000/ to see the app running locally.

Deploy

Deploy the app to Heroku:

gem install heroku
heroku create
git push heroku master
heroku rake db:schema:load
heroku rake db:seed
heroku open

Enable Uploads via Amazon S3

Get your S3 credentials from Amazon's site in Account -> Security Credentials:

http://aws-portal.amazon.com/gp/aws/developer/account/index.html?action=access-key

S3

Provide Heroku with the credentials:

heroku config:add access_key_id=
heroku config:add secret_access_key=

Choose a unique name for your bucket and create it:

heroku config:add s3_bucket_name=
heroku rake s3:create

Contributors

  • Trevor Turk
  • Charles Magid
  • Keenan Brock

MIT License

Copyright (c) 2010 Trevor Turk

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Static is a super simple Rails CMS for Heroku.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages