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
Web Programming - Lesson 7
Search
Ryan Chung
May 07, 2020
Technology
1
640
Web Programming - Lesson 7
Ryan Chung
May 07, 2020
Tweet
Share
More Decks by Ryan Chung
See All by Ryan Chung
MovieBot Development
ryan403
0
310
Design Voice-First Games for Alexa
ryan403
0
73
AI Teaching Talk
ryan403
0
130
Cognitive Service
ryan403
0
110
jQuery & API Practices
ryan403
0
140
CSS Practices
ryan403
1
170
JavaScript Practices
ryan403
0
110
Web Programming - Lesson 6
ryan403
1
640
Web Programming - Lesson 5
ryan403
1
450
Other Decks in Technology
See All in Technology
会社紹介資料 / Sansan Company Profile
sansan33
PRO
11
390k
First-Principles-of-Scrum
hiranabe
1
270
2025-12-27 Claude CodeでPRレビュー対応を効率化する@機械学習社会実装勉強会第54回
nakamasato
4
1.4k
Claude Skillsの テスト業務での活用事例
moritamasami
1
130
AI駆動開発ライフサイクル(AI-DLC)の始め方
ryansbcho79
0
280
アラフォーおじさん、はじめてre:Inventに行く / A 40-Something Guy’s First re:Invent Adventure
kaminashi
0
210
MySQLのSpatial(GIS)機能をもっと充実させたい ~ MyNA望年会2025LT
sakaik
0
200
Cloud WAN MCP Serverから考える新しいネットワーク運用 / 20251228 Masaki Okuda
shift_evolve
PRO
0
130
20251222_サンフランシスコサバイバル術
ponponmikankan
2
160
Introduce marp-ai-slide-generator
itarutomy
0
170
Knowledge Work の AI Backend
kworkdev
PRO
0
340
AIBuildersDay_track_A_iidaxs
iidaxs
4
1.7k
Featured
See All Featured
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.7k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Darren the Foodie - Storyboard
khoart
PRO
0
2k
From π to Pie charts
rasagy
0
99
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
180
RailsConf 2023
tenderlove
30
1.3k
BBQ
matthewcrist
89
9.9k
GraphQLとの向き合い方2022年版
quramy
50
14k
Optimizing for Happiness
mojombo
379
70k
Code Reviewing Like a Champion
maltzj
527
40k
Scaling GitHub
holman
464
140k
Building the Perfect Custom Keyboard
takai
2
670
Transcript
Web Programming –
[email protected]
行動開發學院 行動開發學院 JavaScript Lab 網站上線 Ryan
Chung 123
Web Programming –
[email protected]
行動開發學院 行動開發學院 目標 • 將完成的網站上線 –
很多選擇 • Ngrok • GitHub Pages • Self Own Server(IIS, WAMP,…) • Hosting Service + Domain Name • Azure • AWS • GCP • CHT 124
Web Programming –
[email protected]
行動開發學院 行動開發學院 使用 GitHub Pages 125
https://pages.github.com/
Web Programming –
[email protected]
行動開發學院 行動開發學院 註冊一個GitHub帳號 126 https://github.com/join
Web Programming –
[email protected]
行動開發學院 行動開發學院 登入後,建立一個新的專案 • 點選照片旁邊的+,New repository
127 https://github.com/new
Web Programming –
[email protected]
行動開發學院 行動開發學院 安裝git • 網頁拉至中間部分,右邊有下載連結 •
下載後開啟,一步一步安裝至本機 128 https://git-scm.com/
Web Programming –
[email protected]
行動開發學院 行動開發學院 在VS Code中打開終端機 • 打開VS
Code,檔案->開啟資料夾 • 選擇自己的專案 • 檢視->終端 (或按下Ctrl + ` ) 開啟內建終端機 129
Web Programming –
[email protected]
行動開發學院 行動開發學院 在終端機中設定git git config --global
user.name "你的英文姓名" 130 然後再輸入: git config --global user.email “你的電子郵件"
Web Programming –
[email protected]
行動開發學院 行動開發學院 開始使用git (這些指令都下在終端機) • Git
初始化 git init • 加入所有檔案 git add . • 設定上傳描述標記 git commit –m "First commit" • 對應遠端位置 git remote add origin https://github.com/YourUserName/YourProgectName.git • 上傳檔案 – git push –u origin master 131 這個網址就是 https://github.com/你的使用者名稱/你的專案名稱.git
Web Programming –
[email protected]
行動開發學院 行動開發學院 設定GitHub Pages • 在Github網站中,進入自己的專案
• 點擊 Settings • 下拉至GitHub Pages • 將Source設定為 master branch • 再下拉網頁,找到產生的網址 132
Web Programming –
[email protected]
行動開發學院 行動開發學院 測試網站是否已上線 • 打開瀏覽器,輸入網址 https://YourUserName.github.io/YourProjectName
網址就是 https://你的帳號名稱.github.io/你的專案名稱 133
Web Programming –
[email protected]
行動開發學院 行動開發學院 之後要怎麼更新網站內容? • 一樣在VS Code中開啟終端機(Ctrl
+ `) • 依序輸入以下指令 • 加入所有檔案 git add . • 設定上傳描述標記 git commit –m "Update for xxx" • 上傳檔案 – git push –u origin master 134
Web Programming –
[email protected]
行動開發學院 行動開發學院 Recap • GitHub –註冊帳號
–建立Repo • 本機端 –終端機下指令 –建立Git、對應遠端、加入、標記、上傳 • GitHub –設定 –GitHub Page、Source Master Branch 135