- GitHub Staff
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
127.0.0.1 signup.mydomain.dev test1.mydomain.dev test2.mydomain.dev |
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
Myapp::Application.routes.draw do | |
# signup.host.com | |
constraints :subdomain => "signup" do | |
resources :accounts | |
match "signup" => "accounts#new" | |
root :to => "accounts#new" | |
end | |
# Catch all subdomains except "signup.host.com" |
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
[remote "all"] | |
url = [email protected]:myapp.git | |
url = [email protected]:georgedrummond/myapp.git |
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
heroku plugins:install [email protected]:kylejginavan/heroku_jammit.git |
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
# config/environments/production.rb | |
config.serve_static_assets = true |
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
# Add to your Gemfile | |
gem 'jammit' |
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
[ | |
{ | |
"currency":{ | |
"name":"British Pounds", | |
"code":"GBP", | |
"id":1, | |
"unit":"\u00a3" | |
} | |
}, | |
{ |
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
* | |
:padding 0 | |
:margin 0 | |
body | |
:font-family arial | |
:font-size 13px | |
:color #333 | |
.container |
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
SITE_ROOT = "#{File.dirname(__FILE__)}" | |
configuration.sass_options[:style] = :compressed | |
configuration.sass_options[:load_paths] = [SITE_ROOT + "/src/sass"] | |
configuration.use_extensions_for_page_links = false |
NewerOlder