Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
deploy to heroku
Search
RailsGirls Ukraine
October 06, 2012
Programming
1
370
deploy to heroku
RailsGirls Ukraine
October 06, 2012
Tweet
Share
More Decks by RailsGirls Ukraine
See All by RailsGirls Ukraine
mom, where do the sites come form?
rg_ukraine
0
230
The Why's of RailsGirls
rg_ukraine
0
230
introduction to ruby
rg_ukraine
3
8.2k
where to go next
rg_ukraine
0
140
Other Decks in Programming
See All in Programming
Haze - Real time background blurring
chrisbanes
1
510
talk-with-local-llm-with-web-streams-api
kbaba1001
0
180
Effective Signals in Angular 19+: Rules and Helpers @ngbe2024
manfredsteyer
PRO
0
130
急成長期の品質とスピードを両立するフロントエンド技術基盤
soarteclab
0
930
StarlingMonkeyを触ってみた話 - 2024冬
syumai
3
270
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
4
1.1k
MCP with Cloudflare Workers
yusukebe
2
220
KubeCon + CloudNativeCon NA 2024 Overviewat Kubernetes Meetup Tokyo #68 / amsy810_k8sjp68
masayaaoyama
0
250
バグを見つけた?それAppleに直してもらおう!
uetyo
0
180
return文におけるstd::moveについて
onihusube
1
1k
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
今年一番支援させていただいたのは認証系サービスでした
satoshi256kbyte
1
250
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Build The Right Thing And Hit Your Dates
maggiecrowley
33
2.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
BBQ
matthewcrist
85
9.4k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.3k
Agile that works and the tools we love
rasmusluckow
328
21k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
510
It's Worth the Effort
3n
183
28k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Code Review Best Practice
trishagee
65
17k
How GitHub (no longer) Works
holman
311
140k
Transcript
None
What we need? A Heroku user account Basic
Ruby/Rails knowledge, including an installed version of Ruby 1.9.2, Rubygems, Bundler, and Rails 3. Basic Git knowledge
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
Accounts email and heroku password railsgirls
Preparing the app change in Gemfile.rb to bundle install --without
production gem ‘sqlite3’ group :development do gem ‘sqlite3’ end group :production do gem ‘pg’ end
Preparing the app gem install heroku config.assets.initialize_on_precompile = false add
to application.rb git init git add . git commit –m “initial commit” add project to git
Deploying create new app push the code migrate database run
the app or just http://app-name.herokuapp.com/ heroku create app-name git push heroku master heroku run rake db:migrate heroku run rake db:seed heroku open heroku keys:add c:\sites\.ssh\id_rsa.pub add ssh-key: login: heroku login