This file contains 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
# -*- encoding : utf-8 -*- | |
namespace :integration do | |
namespace :heroku do | |
task :add_remote do | |
sh "git remote add staging git@heroku.com:nomedoprojeto-staging.git" if `git remote |grep staging`.strip.blank? | |
sh "git remote add production git@heroku.com:com:nomedoprojeto-production.git" if `git remote |grep production`.strip.blank? | |
end | |
task :check do | |
var = `heroku config -s --app nomedoprojeto-staging|grep INTEGRATING_BY` |
This file contains 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
# -*- encoding : utf-8 -*- | |
namespace :integration do | |
namespace :heroku do | |
task :add_remote do | |
sh "git remote add staging git@heroku.com:nomedoprojeto-staging.git" if `git remote |grep staging`.strip.blank? | |
sh "git remote add production git@heroku.com:com:nomedoprojeto-production.git" if `git remote |grep production`.strip.blank? | |
end | |
task :check do | |
var = `heroku config -s --app nomedoprojeto-staging|grep INTEGRATING_BY` |
This file contains 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
export AMAZON_S3_BUCKET=mybucket-development | |
export AMAZON_ACCESS_KEY_ID=xxx | |
export AMAZON_SECRET_ACCESS_KEY=xxx | |
rvm 1.9.2@nome-da-app --create |
This file contains 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 | |
heroku auth:login | |
heroku create $1 --stack cedar | |
heroku sharing:add contato@mergulhao.info | |
heroku sharing:add ramonpage@gmail.com | |
heroku sharing:add rafael.lima@bielsystems.com.br | |
heroku addons:add shared-database:5mb | |
heroku addons:add custom_domains:basic | |
heroku addons:upgrade logging:expanded |
This file contains 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
export AMAZON_S3_BUCKET=mybucket-development | |
export AMAZON_ACCESS_KEY_ID=xxx | |
export AMAZON_SECRET_ACCESS_KEY=xxx | |
rvm 1.9.2@nome-da-app --create |
This file contains 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="content-type" content="text/html; charset=utf-8"/> | |
<script type="text/javascript" src="jquery-1.7.1.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function () { | |
$.getJSON('estados_cidades.json', function (data) { |
NewerOlder