gem install rails --pre
rails new my_app -T
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 |
#!/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 |
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 |
# -*- 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` |
# -*- 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` |
source 'http://rubygems.org' | |
gem 'rails', '3.1.3' | |
gem 'jquery-rails', '1.0.16' | |
gem 'pg', '0.11.0' | |
gem 'silent-postgres', '0.0.8' | |
gem 'thin', '1.2.11' | |
gem 'haml', '3.1.3' | |
gem 'delayed_job', '2.1.4' | |
gem 'state_machine', '1.1.0' |
pt-BR: | |
home: | |
name: Home | |
views: | |
pagination: | |
previous: "« Anterior" | |
next: "Próximo »" | |
truncate: "…" | |
admin: | |
misc: |
{ markers: [{ latitude: 47.660937, longitude: 9.569803 }, { latitude: 10.660937, longitude: 10.569803 }] } |