SlideShare a Scribd company logo
1 of 18
Download to read offline
Intro to Rails Workshop
from RailsBridge
• RailsBridge
• 成⽴立於 2009 年 6 ⽉月
• 主旨:歡迎更多不同背景的朋友加⼊入 Ruby on Rails
開發的⾏行列
Intro to Rails
• 上午:InstallFest (安裝 Ruby on Rails 環境)
• 下午:Workshop (開發 + Deploy to Heroku)
中⽂文教材
http://bit.ly/railsbridge-tw
如果可以的話,請先在家裡跑⼀一遍
流程
• 上午:學員與 TA ⾃自我介紹
• 理想配置是 1:2
• 勉強配置是 1:4
• 帶領你的 Group 開始裝機器
• 無法協助學員解決的話請呼叫現場的 Mac / Ubuntu /
Windows 專家
Installfest (上午)
• 務必照 RailsBridge 上的建議請學員安裝
• Windows ⾛走 RailsInstaller
• Linux 儘量⾛走 apt + RVM
• Mac 儘量⾛走 brew + RVM
Installfest (上午)
• 裝開發環境
• 設定 Git
• 製作 ssh key
• 開 Heroku 帳號
Workshop (下午)
• 簡單的 Ruby
• 跑 IRB
• loop , Array, method
• ⿎鼓勵同學們試著⾃自⼰己寫⼀一個 method 並呼叫
• 新建⼀一個 Rails 專案
• 講解⺫⽬目錄
• 把 Rails 加⼊入 Git
• 在本地 Run 起 Rails App
Workshop (下午)
• Scaffold
• CRUD (不需要在此時講解 RESTful ,新⼿手聽不懂
會迷路)
• 只需講解 View 與 Action
• 設定 Routing
Workshop (下午)
• 投票 ( member action )
• 投票記錄 ( ActiveRecord )
• console 操作。儘量讓同學們多玩⼀一下。
• redirect 跳轉
• link_to
• 可講解 view 要怎麼改
Workshop (下午)
• Deploy to Heroku
• 此部分如遇問題可問別桌
Workshop (下午)
若有剩餘時間
• 扣分 downvote
• 排⾏行榜
• 加⼊入 devise
• 加⼊入 bootstrap
TA 注意事項
• 對同學友善。多數同學可能只有 HTML / CSS / Windows 背
景
• ⿎鼓勵同學發問與嘗試,多稱讚
• 多數同學有強烈的好奇⼼心
• 請忍住搶鍵盤的衝動
• 請忍住「⾮非常詳細解釋」的衝動
• 時時停下來關⼼心是否有何處打結
• ⿎鼓勵做筆記
TA 必讀
http://docs.railsbridge.org/workshop/more_teacher_training
請仔細讀過⼀一遍,若有不適當舉動,將會請 TA 離場
Rundown
• TA 請於 9:45 前到場
• 10:00 開始上午場
• 12:00 放飯
• 13:00 開始下午場
• 15:45 準備 closing
• 16:15 出發 After Party ( 歡迎建議地點)
遍地開花
• 上論壇挖坑 ( 1 籌辦⼈人)
• 場地: 網路好,交通⽅方便,電源多 (建議商業場地)
• 寄信給 railstuesday@gmail.com 開 event
• 助教: 學⽣生 = 1 : 4(最低⽐比例)
• 20 ⼈人 + 10 張贊助票(⽐比找廠商快)

More Related Content

Viewers also liked (8)

Ec2onrails
Ec2onrailsEc2onrails
Ec2onrails
 
From The Christmas Heart
From The  Christmas  HeartFrom The  Christmas  Heart
From The Christmas Heart
 
Understanding Stem Cells
Understanding Stem CellsUnderstanding Stem Cells
Understanding Stem Cells
 
2016 01 07-part2
2016 01 07-part22016 01 07-part2
2016 01 07-part2
 
Plastic Surgery of a Presentation
Plastic Surgery of a PresentationPlastic Surgery of a Presentation
Plastic Surgery of a Presentation
 
Numbers You Did'nt Know on Cell Phones
Numbers You Did'nt Know on Cell PhonesNumbers You Did'nt Know on Cell Phones
Numbers You Did'nt Know on Cell Phones
 
Animal timing. Animal rights
Animal timing. Animal rightsAnimal timing. Animal rights
Animal timing. Animal rights
 
2016 01 07 part 1
2016 01 07 part 12016 01 07 part 1
2016 01 07 part 1
 

Similar to Intro to Rails Workshop ( TA 須知 )

給你一個使用 Laravel 的理由
給你一個使用 Laravel 的理由給你一個使用 Laravel 的理由
給你一個使用 Laravel 的理由Shengyou Fan
 
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩Wen-Tien Chang
 
使用 laravel 的前與後
使用 laravel 的前與後使用 laravel 的前與後
使用 laravel 的前與後Shengyou Fan
 
Ruby Rails 老司機帶飛
Ruby Rails 老司機帶飛Ruby Rails 老司機帶飛
Ruby Rails 老司機帶飛Wen-Tien Chang
 
[OSDC12]相依性管理 - 以Ruby開發為例
[OSDC12]相依性管理 - 以Ruby開發為例[OSDC12]相依性管理 - 以Ruby開發為例
[OSDC12]相依性管理 - 以Ruby開發為例YC Ling
 
應用程式佈署
應用程式佈署應用程式佈署
應用程式佈署Shengyou Fan
 
Package安裝與使用
Package安裝與使用Package安裝與使用
Package安裝與使用Shengyou Fan
 
Nashorn on JDK 8 (ADC2013)
Nashorn on JDK 8 (ADC2013)Nashorn on JDK 8 (ADC2013)
Nashorn on JDK 8 (ADC2013)Kris Mok
 
Docker 基礎介紹與實戰
Docker 基礎介紹與實戰Docker 基礎介紹與實戰
Docker 基礎介紹與實戰Bo-Yi Wu
 
J Ruby和Rails 让Ruby语言融入Java项目
J Ruby和Rails 让Ruby语言融入Java项目J Ruby和Rails 让Ruby语言融入Java项目
J Ruby和Rails 让Ruby语言融入Java项目George Ang
 
DEV305 - ASP.NET 5 開發攻略
DEV305 - ASP.NET 5 開發攻略DEV305 - ASP.NET 5 開發攻略
DEV305 - ASP.NET 5 開發攻略Will Huang
 
開發環境建置
開發環境建置開發環境建置
開發環境建置Shengyou Fan
 
Rails 新人起步走
Rails 新人起步走Rails 新人起步走
Rails 新人起步走jimmy lin
 
Rails 新人起步走
Rails 新人起步走Rails 新人起步走
Rails 新人起步走政億 林
 
Ruby 的快与慢
Ruby 的快与慢Ruby 的快与慢
Ruby 的快与慢vincent253
 
Rubyonrails(Chinese)
Rubyonrails(Chinese)Rubyonrails(Chinese)
Rubyonrails(Chinese)heisda
 
不會 Javascript 沒關係,用 Blazor 來解決前端需求 - 成為 Full Stack .NET 開發者吧 - .NET Conf 2020...
不會 Javascript 沒關係,用 Blazor 來解決前端需求 - 成為 Full Stack .NET 開發者吧 - .NET Conf 2020...不會 Javascript 沒關係,用 Blazor 來解決前端需求 - 成為 Full Stack .NET 開發者吧 - .NET Conf 2020...
不會 Javascript 沒關係,用 Blazor 來解決前端需求 - 成為 Full Stack .NET 開發者吧 - .NET Conf 2020...Alan Tsai
 

Similar to Intro to Rails Workshop ( TA 須知 ) (20)

給你一個使用 Laravel 的理由
給你一個使用 Laravel 的理由給你一個使用 Laravel 的理由
給你一個使用 Laravel 的理由
 
Rails 初探
Rails 初探Rails 初探
Rails 初探
 
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
 
使用 laravel 的前與後
使用 laravel 的前與後使用 laravel 的前與後
使用 laravel 的前與後
 
Ruby基础培训
Ruby基础培训Ruby基础培训
Ruby基础培训
 
Ruby Rails 老司機帶飛
Ruby Rails 老司機帶飛Ruby Rails 老司機帶飛
Ruby Rails 老司機帶飛
 
[OSDC12]相依性管理 - 以Ruby開發為例
[OSDC12]相依性管理 - 以Ruby開發為例[OSDC12]相依性管理 - 以Ruby開發為例
[OSDC12]相依性管理 - 以Ruby開發為例
 
應用程式佈署
應用程式佈署應用程式佈署
應用程式佈署
 
Package安裝與使用
Package安裝與使用Package安裝與使用
Package安裝與使用
 
Nashorn on JDK 8 (ADC2013)
Nashorn on JDK 8 (ADC2013)Nashorn on JDK 8 (ADC2013)
Nashorn on JDK 8 (ADC2013)
 
Docker 基礎介紹與實戰
Docker 基礎介紹與實戰Docker 基礎介紹與實戰
Docker 基礎介紹與實戰
 
J Ruby和Rails 让Ruby语言融入Java项目
J Ruby和Rails 让Ruby语言融入Java项目J Ruby和Rails 让Ruby语言融入Java项目
J Ruby和Rails 让Ruby语言融入Java项目
 
DEV305 - ASP.NET 5 開發攻略
DEV305 - ASP.NET 5 開發攻略DEV305 - ASP.NET 5 開發攻略
DEV305 - ASP.NET 5 開發攻略
 
開發環境建置
開發環境建置開發環境建置
開發環境建置
 
Rails 新人起步走
Rails 新人起步走Rails 新人起步走
Rails 新人起步走
 
Rails 新人起步走
Rails 新人起步走Rails 新人起步走
Rails 新人起步走
 
Ruby 的快与慢
Ruby 的快与慢Ruby 的快与慢
Ruby 的快与慢
 
Rubyonrails(Chinese)
Rubyonrails(Chinese)Rubyonrails(Chinese)
Rubyonrails(Chinese)
 
DAE
DAEDAE
DAE
 
不會 Javascript 沒關係,用 Blazor 來解決前端需求 - 成為 Full Stack .NET 開發者吧 - .NET Conf 2020...
不會 Javascript 沒關係,用 Blazor 來解決前端需求 - 成為 Full Stack .NET 開發者吧 - .NET Conf 2020...不會 Javascript 沒關係,用 Blazor 來解決前端需求 - 成為 Full Stack .NET 開發者吧 - .NET Conf 2020...
不會 Javascript 沒關係,用 Blazor 來解決前端需求 - 成為 Full Stack .NET 開發者吧 - .NET Conf 2020...
 

More from Yi-Ting Cheng

More from Yi-Ting Cheng (15)

2016 01 09 NPS - 63
2016 01 09 NPS - 632016 01 09 NPS - 63
2016 01 09 NPS - 63
 
農家樂 Agricola
農家樂 Agricola農家樂 Agricola
農家樂 Agricola
 
莫拉克颱風災情支援網
莫拉克颱風災情支援網莫拉克颱風災情支援網
莫拉克颱風災情支援網
 
Rapid development with Rails
Rapid development with RailsRapid development with Rails
Rapid development with Rails
 
Upgrading to rails3
Upgrading to rails3Upgrading to rails3
Upgrading to rails3
 
Ship It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails EcosystemShip It ! with Ruby/ Rails Ecosystem
Ship It ! with Ruby/ Rails Ecosystem
 
Scaling Rails Sites by default
Scaling Rails Sites by defaultScaling Rails Sites by default
Scaling Rails Sites by default
 
Sinatra Introduction
Sinatra IntroductionSinatra Introduction
Sinatra Introduction
 
OSDC 2009 Rails Turtorial
OSDC 2009 Rails TurtorialOSDC 2009 Rails Turtorial
OSDC 2009 Rails Turtorial
 
Rails21v2
Rails21v2Rails21v2
Rails21v2
 
Pp6-xdite
Pp6-xditePp6-xdite
Pp6-xdite
 
Very Xd Hw9
Very Xd Hw9Very Xd Hw9
Very Xd Hw9
 
Very Xd
Very XdVery Xd
Very Xd
 
Happyweb8 Encode
Happyweb8 EncodeHappyweb8 Encode
Happyweb8 Encode
 
Happyweb8 Encode
Happyweb8 EncodeHappyweb8 Encode
Happyweb8 Encode
 

Intro to Rails Workshop ( TA 須知 )