Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Node.jsによるWebサイト制作のデプロイ環境構築
Search
takanorip
April 07, 2017
Technology
400
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Node.jsによるWebサイト制作のデプロイ環境構築
takanorip
April 07, 2017
More Decks by takanorip
See All by takanorip
AI-Slopなデザインを生まないためのデザインプロセス戦略
takanorip
10
5.9k
「見せる」登壇資料デザインの極意
takanorip
7
1.6k
Design System Documentation Tooling 2025
takanorip
3
3k
デザインエンジニアの延長にデザインマネージャーとしての可能性を探る
takanorip
1
1.3k
Tools for Design Engineers other than LLM in the LLM era
takanorip
1
880
Bulletproof Design System with TypeScript
takanorip
7
5.4k
Eleventy3.0 で始める爆速個人ブログ開発!
takanorip
0
320
Webフォント選定の極意!フォントの基本から最新トレンドまで徹底解説
takanorip
6
1.2k
効果的な管理画面を デザインをするために 避けるべき5つの罠
takanorip
15
8k
Other Decks in Technology
See All in Technology
range over func 2年間の軌跡 Issue #56413 はGoのエコシステムをどう変えたか
ryujicre8ive
0
190
開発投資の期待値を上げるプロダクトロードマップづくり ~プロダクトエンジニアが越境して事業を伸ばす~
kekekenta
1
180
LLMに渡さなかった仕事
nanaism
0
320
AIに任せた品質は、誰が見立てるのか - AI時代のテストマネジメント
nakanao
2
1.7k
データ界隈LT祭 第1回LT登壇
taromatsui_cccmkhd
2
1.4k
20260912_スクフェス三河
kgnkhkr
0
380
【技術的負債conf】事業成長に伴う技術的負債の説明責任とAIによるモニタリング、認知的負債について
i35_267
3
1.6k
すぐできる衛星通信対応 あとは山奥に行くだけ
tatetate55
0
130
[2026-09-11]SREは誰のもの?運用エンジニアが始める 「SRE領域への越境」とチームの進化の軌跡 〜Road to NEXT CRE
tosite
0
290
品質と信頼性を地続きにする
grimoh
0
470
AIエージェントを最高のパートナーに育てる方法|評価と判断軸を育てる5つのステップ
koichiaoki
1
130
顧客に向き合う開発組織へ。リアーキテクチャとフィーチャーチーム化で挑む組織改革
safie
0
2k
Featured
See All Featured
[SF Ruby Conf 2025] Rails X
palkan
3
1.4k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
660
The Cost Of JavaScript in 2023
addyosmani
55
10k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
460
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
540
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
430
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
830
How to Think Like a Performance Engineer
csswizardry
28
2.8k
The Language of Interfaces
destraynor
162
27k
Transcript
WebαΠτ deployڥͷߏங Takanori Oki @౦ژNodeֶԂೖֶࣜ
࣍ • ࣗݾհ • ֓ཁ • ॲཧͷྲྀΕ • ·ͱΊ
ࣗݾհ
ࣗݾհ • େଚلʢ@takanoripʣ • גࣜձࣾϑΥʔσδοτσβΠϯ • ϑϩϯτΤϯυΤϯδχΞ
֓ཁ
ಈػ • FTPखಈΞοϓϩʔυΊ͍ͨ • ࣗಈԽ͍ͨ͠ • Gulp͍ͨ͘ͳ͍
npm scripts
npm scripts ͱʁ • npmͷύοέʔδ + Shell • λεΫϥϯφʔ •
ϥούʔϓϥάΠϯෆཁ • JavaScript, stylusͷwatch, build, deployͳͲ ͬͯ͘ΕΔ
ෳࡶͳ͜ͱ͕ۤख ↓ ֎෦ϑΝΠϧԽ
ߏ
ߏ ├── package.json ├── scripts/ │ ├── ... │ ├──
build.js │ ├── upload.js │ └── deploy.js ├── htdocs/ (公開ディレクトリ) ├── node_modules/ └── config.js
ߏ • package.json : npmઃఆϑΝΠϧ • deploy.js : build +
upload • build.js : JS, stylusͷbuild • upload.js : SFTPܦ༝ͰαʔόʔʹΞοϓ • config.js : ύεFTPͷใͳͲΛهड़
༻Ϟδϡʔϧ • bluebird : PromiseͷϥΠϒϥϦ • path : ϑΝΠϧύεΛѻ͏Ϟδϡʔϧ •
fs : ϑΝΠϧΞΫηε͢ΔͨΊͷϞδϡʔϧ • ssh2 : SSHଓ͢ΔϞδϡʔϧ
ॲཧͷྲྀΕ
package.json { "scripts": { … "build": "node scripts/build.js", "watch": "node
scripts/watch.js”, "deploy": "node scripts/deploy.js” … }, }
ॲཧͷྲྀΕ 1. ίϯϑΟά͔Βެ։σΟϨΫτϦͷύεऔಘ 2. SFTPଓ 3. ϑΝΠϧΛΞοϓϩʔυ 4. ϑΝΠϧͷଘࡏΛ֬ೝˠͳ͔ͬͨΒσΟϨΫ τϦ࡞Δ
·ͱΊ • npm scripts ศར • ϑϩϯτΤϯυ։ൃͰ؆୯ʹσϓϩΠڥ ΛߏஙͰ͖ͨ • ͬͱ͍ΖΜͳ͍ํΛࡧ͍͖͍ͯͨ͠