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
360
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
220
The Why's of RailsGirls
rg_ukraine
0
220
introduction to ruby
rg_ukraine
3
8.2k
where to go next
rg_ukraine
0
130
Other Decks in Programming
See All in Programming
Front-end application development, Symfony-style(s)
dunglas
2
1.9k
PostmanでAPIの動作確認が楽になった話
h455h1
0
130
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
3.6k
Git Lint
bkuhlmann
4
740
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
120
Javaエンジニアのための Nodejs/Nuxt3入門
hidekatsu_izuno
0
280
try! Swift Tokyo 2024のLT枠に採択されたプロポーザルを出すときに考えていたこと
ski
0
340
Prepare for Jakarta EE 11 - Performance and Developer Productivity
ivargrimstad
0
460
単体テストを書かない技術 #phpcon_odawara
o0h
PRO
25
7.8k
HUIT新歓2024「競技プログラミング、やってみませんか?」
slephy2784
1
250
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
Folding Cheat Sheet #2
philipschwarz
PRO
0
110
Featured
See All Featured
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Designing Experiences People Love
moore
136
23k
Adopting Sorbet at Scale
ufuk
67
8.6k
4 Signs Your Business is Dying
shpigford
175
21k
The Cult of Friendly URLs
andyhume
74
5.7k
In The Pink: A Labor of Love
frogandcode
138
21k
We Have a Design System, Now What?
morganepeng
42
6.7k
Unsuck your backbone
ammeep
662
57k
Building an army of robots
kneath
300
41k
Art, The Web, and Tiny UX
lynnandtonic
288
19k
What the flash - Photography Introduction
edds
64
11k
The Cost Of JavaScript in 2023
addyosmani
14
3.8k
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