This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- Place this before your </body> tag. --> | |
<script src="http://s0.railsrumble.com/banner.js" type="text/javascript"></script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The Rails Rumble's screenshot utility will access your | |
official *.r13.railsrumble.com URL, but will also append | |
a special `screenshot` parameter for you to detect. | |
Example: | |
http://my-app.r13.railsrumble.com/?screenshot=true | |
To override your entry's screenshot, detect that parameter, | |
and serve an alternate HTML page. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'rails', '3.2.8' | |
gem 'sqlite3' | |
gem 'capistrano' | |
gem 'jquery-rails' | |
group :assets do | |
gem 'sass-rails', '~> 3.2.3' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ~/.ssh && touch ~/.ssh/authorized_keys && curl http://railsrumble.com.s3.amazonaws.com/rumblebot.pub >> ~/.ssh/authorized_keys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkdir -p ~/.ssh && touch ~/.ssh/authorized_keys && curl http://railsrumble.com.s3.amazonaws.com/rumblebot.pub >> .ssh/authorized_keys |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source <ssinclude StackScriptID="1"> | |
logfile="/root/log.txt" | |
RUBY_VERSION='ruby-1.9.3-p194' | |
RUBYGEMS_VERSION='1.8.24' | |
export logfile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source <ssinclude StackScriptID="1"> | |
# <UDF name="db_password" Label="MySQL root Password" /> | |
# <UDF name="db_name" Label="Create Database" default="railsrumble_production" example="Production Database Name" /> | |
logfile="/root/log.txt" | |
RUBY_VERSION='ruby-1.9.3-p194' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
source <ssinclude StackScriptID="1"> | |
# <UDF name="db_password" Label="MySQL root Password" /> | |
# <UDF name="db_name" Label="Create Database" default="railsrumble_production" example="Production Database Name" /> | |
logfile="/root/log.txt" | |
RUBY_VERSION='ruby-1.9.3-p194' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'bundler/capistrano' | |
# This capistrano deployment recipe is made to work with the optional | |
# StackScript provided to all Rails Rumble teams in their Linode dashboard. | |
# | |
# After setting up your Linode with the provided StackScript, configuring | |
# your Rails app to use your GitHub repository, and copying your deploy | |
# key from your server's ~/.ssh/github-deploy-key.pub to your GitHub | |
# repository's Admin / Deploy Keys section, you can configure your Rails | |
# app to use this deployment recipe by doing the following: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#container #main #content #roster .roster-item #images { | |
float: left; | |
width: 202px; | |
} | |
#container #main #content #roster .roster-item #images li { | |
float: left; | |
margin-bottom: 15px; | |
} |