Install (copy & paste):
curl -sL raw.github.com/gist/1676577/travis.rb > ~/bin/travis \
&& chmod +x ~/bin/travis
gem install hub | tail -2
ruby -e 'require "json"' 2>/dev/null || gem install json| let's make a list of sinatra-based apps! | |
| apps: | |
| - http://github.com/cschneid/irclogger "Sinatra based irclogger.com" | |
| - http://github.com/rtomayko/wink "minimalist blogging engine" | |
| - http://github.com/foca/integrity "The easy and fun Continuous Integration server" | |
| - http://github.com/sr/git-wiki "git-powered wiki" | |
| - http://github.com/entp/seinfeld "Seinfeld-inspired productivity calendar to track your public github commits." | |
| - http://github.com/karmi/marley "Marley, the blog engine without <textareas>. See in action @ www.restafari.org" | |
| - http://github.com/ichverstehe/gaze "Serve up your Markdown files with this tiny Sinatra app!" |
| Rails CMS alternatives | |
| ====================== | |
| Note: project activity was checked on 11/26/09. | |
| Active projects: | |
| --------------- | |
| adva-cms | |
| repo: http://github.com/svenfuchs/adva_cms/ | |
| site: http://adva-cms.org/ | |
| Last update: 11/24/09 |
| source :gemcutter | |
| gem 'rails', '~> 2.3.5', :require => nil |
| # Set cache dir | |
| proxy_cache_path /var/cache/nginx levels=1:2 | |
| keys_zone=microcache:5m max_size=1000m; | |
| # Virtualhost/server configuration | |
| server { | |
| listen 80; | |
| server_name yourhost.domain.com; | |
| # Define cached location (may not be whole site) |
| # ThinkingSphinx lazily executes search requests. | |
| # This means that search results aren't usually | |
| # loaded until you iterate over the results in the view. | |
| # This can sometimes make tracking down performance | |
| # problems a little tricky, as new relic will report all | |
| # your time spent rendering such and such partial or view. | |
| # Adding this file to your rails app will make the | |
| # time spent in sphinx properly report itself | |
| require 'new_relic/agent/method_tracer.rb' |
| #!/bin/bash | |
| #ec2-run-instances --user-data-file chefserver-ec2-userdata.sh -g chef-server --key mykey -t m1.large --instance-initiated-shutdown-behavior terminate ami-1aad5273 | grep INSTANCE | INSTANCE=`cut -f 2` | xargs -I XXX ec2-create-tags XXX --tag Name=chefserver ; sleep 60 ; ec2-describe-instances $INSTANCE | grep INSTANCE | grep running | echo ssh ubuntu@`cut -f 4` | |
| # ami-1aad5273 - ubuntu 11.04 64bit server ebs | |
| # ami-2cc83145 - alestic ubunt 10.04 LTS 32bit server ebs | |
| # ami-2ec83147 - alestic ubunt 10.04 LTS 64bit server ebs | |
| # ami-8e1fece7 - amazon 64 bit ebs | |
| exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
| set -e -x | |
| # START CHEF BOOSTRAP |
| #!/bin/bash | |
| #ec2-run-instances --user-data-file chefserver-ec2-userdata.sh -g chef-server --key mykey -t m1.large --instance-initiated-shutdown-behavior terminate ami-1aad5273 | grep INSTANCE | INSTANCE=`cut -f 2` | xargs -I XXX ec2-create-tags XXX --tag Name=chefserver ; sleep 60 ; ec2-describe-instances $INSTANCE | grep INSTANCE | grep running | echo ssh ubuntu@`cut -f 4` | |
| # ami-1aad5273 - ubuntu 11.04 64bit server ebs | |
| # ami-2cc83145 - alestic ubunt 10.04 LTS 32bit server ebs | |
| # ami-2ec83147 - alestic ubunt 10.04 LTS 64bit server ebs | |
| # ami-8e1fece7 - amazon 64 bit ebs | |
| exec > >(tee /var/log/user-data.log|logger -t user-data -s 2>/dev/console) 2>&1 | |
| set -e -x | |
| # START CHEF BOOSTRAP |
This installs a patched ruby 1.9.3-p327 with various performance improvements and a backported COW-friendly GC, all courtesy of funny-falcon.
You will also need a C Compiler. If you're on Linux, you probably already have one or know how to install one. On OS X, you should install XCode, and brew install autoconf using homebrew.