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
Delivered-To: brad@heroku.com | |
Received: by 10.66.227.136 with SMTP id sa8csp215581pac; | |
Tue, 2 Oct 2012 07:56:13 -0700 (PDT) | |
Received: by 10.68.190.8 with SMTP id gm8mr5037903pbc.74.1349189772172; | |
Tue, 02 Oct 2012 07:56:12 -0700 (PDT) | |
Return-Path: <sgilmour@salesforce.com> | |
Received: from smtp07-sjl.mta.salesforce.com (smtp07-sjl.mta.salesforce.com. [204.14.234.70]) | |
by mx.google.com with ESMTPS id px6si2448683pbc.154.2012.10.02.07.56.12 | |
(version=TLSv1/SSLv3 cipher=OTHER); | |
Tue, 02 Oct 2012 07:56:12 -0700 (PDT) |
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
virtualenv --no-site-packages . | |
source bin/activate | |
bin/pip install Django psycopg2 django-sentry | |
bin/pip freeze > requirements.txt | |
bin/django-admin.py startproject mysite | |
cat >.gitignore <<EOF | |
bin/ | |
include/ | |
lib/ | |
EOF |
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
bgyger-ltm:btg-sample-1 bgyger$ heroku rake db:migrate | |
(in /app) | |
rake aborted! | |
uninitialized constant Rake::DSL | |
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2482:in `const_missing' | |
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:8:in `<class:TaskLib>' | |
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:6:in `<module:Rake>' | |
/app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2/lib/rake/tasklib.rb:3:in `<top (required)>' | |
/app/.bundle/gems/ruby/1.9.1/gems/rdoc-3.8/lib/rdoc/task.rb:37:in `require' | |
/app/.bundle/gems/ruby/1.9.1/gems/rdoc-3.8/lib/rdoc/task.rb:37:in `<top (required)>' |
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
You will need... | |
your own encryption key | |
sfdc instance, api key and store instead of AWS. | |
AES_KEY=<your_key> | |
SFDC_INSTANCE=<yourinstance>.salesforce.com | |
SFDC_KEY=<your_sdfc_key> | |
#AWS_BUCKET=<replace with SFDC store VAR> | |
#AWS_KEY=<replace with SFDC key var> |
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
bgyger-ltm:tweetstream-example bgyger$ heroku ps | |
Process State Command | |
------------ ------------------ ------------------------------ | |
web.1 up for 49m thin -p $PORT -e $RACK_ENV -R $HER.. | |
worker.1 restarting for 1s rake jobs:work | |
bgyger-ltm:tweetstream-example bgyger$ heroku ps | |
Process State Command | |
------------ ------------------ ------------------------------ | |
web.1 up for 49m thin -p $PORT -e $RACK_ENV -R $HER.. | |
worker.1 crashed for 3s rake jobs:work |
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
bgyger-ltm:jscontact bgyger$ tail -100 log/development.log | |
Processing by CompaniesController#index as HTML | |
Completed in 0ms | |
NoMethodError (undefined method `companies' for nil:NilClass): | |
app/controllers/companies_controller.rb:5:in `index' | |
Rendered /Library/Ruby/Gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.9ms) | |
Rendered /Library/Ruby/Gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.3ms) | |
Rendered /Library/Ruby/Gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.6ms) |
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
bgyger-ltm:~ bgyger$ gem install heroku | |
Building native extensions. This could take a while... | |
ERROR: Error installing heroku: | |
ERROR: Failed to build gem native extension. | |
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby extconf.rb | |
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ruby.h | |
Gem files will remain installed in /Library/Ruby/Gems/1.8/gems/json-1.5.1 for inspection. |