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
GitHub Codespacesで 開発環境を共有しよう
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
高江洲順八
June 29, 2023
Programming
1.1k
0
Share
GitHub Codespacesで 開発環境を共有しよう
第5回 沖テクNight〜インフラ領域へ潜水!〜 で発表したもの。
https://caadvance.connpass.com/event/286486/
高江洲順八
June 29, 2023
Other Decks in Programming
See All in Programming
生成 AI 時代のスナップショットテストってやつを見せてあげますよ(α版)
ojun9
0
340
Coding at the Speed of Thought: The New Era of Symfony Docker
dunglas
0
4.7k
Linux Kernelの1文字のミスで 権限昇格ができた話
rqda
0
2.3k
AIエージェントで業務改善してみた
taku271
0
490
それはエンジニアリングの糧である:AI開発のためにAIのOSSを開発する現場より / It serves as fuel for engineering: insights from the field of developing open-source AI for AI development.
nrslib
1
830
実践ハーネスエンジニアリング #MOSHTech
kajitack
7
5.9k
Running Swift without an OS
kishikawakatsumi
0
330
「接続」—パフォーマンスチューニングの最後の一手 〜点と点を結ぶ、その一瞬のために〜
kentaroutakeda
5
2.5k
Codex CLI でつくる、Issue から merge までの開発フロー
amata1219
0
330
年間50登壇、単著出版、雑誌寄稿、Podcast出演、YouTube、CM、カンファレンス主催……全部やってみたので面白さ等を比較してみよう / I’ve tried them all, so let’s compare how interesting they are.
nrslib
4
720
Geminiをパートナーに神社DXシステムを個人開発した話(いなめぐDX 開発振り返り)
fujiba
0
140
L’IA au service des devs : Anatomie d'un assistant de Code Review
toham
0
210
Featured
See All Featured
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
210
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
96
Into the Great Unknown - MozCon
thekraken
40
2.3k
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
430
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
270
Taking LLMs out of the black box: A practical guide to human-in-the-loop distillation
inesmontani
PRO
3
2.1k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
370
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
95
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
110
KATA
mclloyd
PRO
35
15k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
410
Transcript
GitHub Codespacesで 開発環境を共有しよう ㈱ 技術統括本部 高江洲 順八(たかえす じゅんや)
自己紹介 高江洲 順八(たかえす じゅんや) • 技術統括本部所属 • メール管理サービスの保守運用担当 • 普段は
とか をよく使う • 最近気になる技術: ※ChatGPT
• GitHub Codespaces について ◦ デモ: (爆速)開発環境構築 ◦ 補足情報をお届け 話す内容
GitHub Codespaces とは 引用元: GitHub Codespaces overview - GitHub Docs
https://docs.github.com/en/codespaces/overview
リポジトリ新規作成 https://github.com/new デモ2 デモのリポジトリ https://github.com/takaesu-junya/docker- compose-lamp 例: LAMP スタックを作る デモ1
例: 爆速で汎用的な 開発環境を用意する
解決できる課題 • プログラミング言語や、ツールを個別にイン ストールする必要が無くなる • 開発者ごとの環境差異による問題の発生が防 げる → 開発者体験の質が爆上がり📈🚀
その他活用法 勉強会用のリポジトリを Codespaces で用意する • Codespaces には無料利用枠があるので、誰でも気 軽に使える • Github
リポジトリのページから1クリックで環境 つくれる →環境構築で、躓く人を無くす🐣
その他いろいろ気になること
料金は? • 無料・有料アカウントどちらも、無料利用枠有り • クレカ登録無しで、気軽にできる ◦ ただし、無料利用枠を超えると、当月は利用不可 • ストレージ: ◦
$0.07/GiB/mo. → 100GB の環境なら $7 / 月 • CPU x RAM:
一人当たり、10,000 円くらい? ↓Pricing Calculator を使って試算 https://github.com/pricing/calculator
最小スペック(2 cpu core) なら、毎月 60h 分の稼働は無料 ※感覚的に、ストレージが上限を迎えるほうが早い もう codespaces 使えない
・・・
引用元: GitHub Codespaces の概要 - GitHub Docs https://docs.github.com/ja/codespaces/overview 未対応OSなど、環境依存はある?
• 色々カスタマイズするなら、devcontainer.json を 書く devcontainer.json は必要? • 必須ではない。無い場合はデフォルトが使われる。 引用元: Introduction
to dev containers - GitHub Docs https://docs.github.com/en/codespaces/setting-up-your-project-for-codespaces/adding-a-dev-container- configuration/introduction-to-dev-containers#using-the-default-dev-container-configuration
ご清聴ありがとうございました
リンク 説明 https://github.com/features/codespaces GitHub Codespaces のホームページ https://docs.github.com/en/codespaces GitHub Codespaces のドキュメント
https://code.visualstudio.com/docs/devcontainers/containers vscode の devcontainers 機能の説明 https://containers.dev/templates devcontainer の使用に特化したイメージ一覧 https://containers.dev/features devcontainer で使用できる features の一覧 https://github.com/takaesu-junya/docker-compose-lamp ただの lamp 環境を作るためだけの codespaces リポジトリ 参考URL