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
piyopiyo.ex #1 Phoenix install 〜Hello,world! (...
Search
ymn
November 08, 2021
Technology
0
430
piyopiyo.ex #1 Phoenix install 〜Hello,world! (Windows)
piyopiyo.ex #1 Phoenix環境構築〜Hello,world!のスライドです。
ymn
November 08, 2021
Tweet
Share
More Decks by ymn
See All by ymn
ElixirでローカルLLM+Difyを動かし、MCPが混ざると ….
ymn
0
55
Other Decks in Technology
See All in Technology
iPhone Eye Tracking機能から学ぶやさしいアクセシビリティ
fujiyamaorange
0
260
5年目から始める Vue3 サイト改善 #frontendo
tacck
PRO
2
120
シークレット管理だけじゃない!HashiCorp Vault でデータ暗号化をしよう / Beyond Secret Management! Let's Encrypt Data with HashiCorp Vault
nnstt1
3
130
Vault meets Kubernetes
mochizuki875
0
170
絶対に失敗できないキャンペーンページの高速かつ安全な開発、WINTICKET × microCMS の開発事例
microcms
0
360
なぜスクラムはこうなったのか?歴史が教えてくれたこと/Shall we explore the roots of Scrum
sanogemaru
0
310
攻撃と防御で実践するプロダクトセキュリティ演習~導入パート~
recruitengineers
PRO
4
1.8k
2025年になってもまだMySQLが好き
yoku0825
8
3.3k
ヘブンバーンズレッドのレンダリングパイプライン刷新
gree_tech
PRO
0
440
AIのグローバルトレンド2025 #scrummikawa / global ai trend
kyonmm
PRO
0
150
MCPで変わる Amebaデザインシステム「Spindle」の開発
spindle
PRO
3
2.3k
バッチ処理で悩むバックエンドエンジニアに捧げるAWS Glue入門
diggymo
3
100
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Balancing Empowerment & Direction
lara
3
610
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Building an army of robots
kneath
306
46k
Automating Front-end Workflow
addyosmani
1370
200k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
185
54k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Transcript
Elixir インストール Windows
Elixir をダウンロードします https://elixir-lang.org/install.html
None
インストーラーを実行 「Next」をクリック
「Next」をクリック
「Next」をクリック
ダウンロードが完了するまでしばらくお待ちください
「Next」をクリック
「Next」をクリック
「Install」をクリック
None
チェックをし「Install」をクリック
「Close」をクリック
None
None
「Close」をクリック
「Next」をクリック
「Next」をクリック
「Next」をクリック
「Install」をクリック
「Finish」をクリック
VSCodeをダウンロード https://code.visualstudio.com/Download
None
「同意する」、「次へ」をクリック
「次へ」をクリック
「次へ」をクリック
「次へ」をクリック
None
「完了」をクリック
VSCode起動後 「インストールして再起動」をクリック
再起動後日本語表記になります
「拡張機能」をクリック
「elixir」と入力
「ElixirLS Elixir…」→「インストール」をクリック
以上で、ElixirとVSCodeのインストールは完了です
Phoenixインストール コンソールを開いてください。 mix archive.install hex phx_new 1.6.0
Phoenixのプロジェクトを作ってみよう! mix phx.new sample --no-ecto etch and install dependencies? [Yn]と聞かれるのでY
Phoenixを起動しよう! cd sample mix phx.server 起動後ブラウザで http://localhost:4000/ にアクセス
改造してみよう! sample/lib/sample_web/templates/page/index.html.heex 改造例 <h1><%= gettext "Welcome to %{name}!", name: "Phoenix"
%></h1> ↓ <h1><%= gettext "Welcome to %{name}!", name: "PiyoPiyo" %></h1>