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
高江洲順八
June 29, 2023
Programming
0
1k
GitHub Codespacesで 開発環境を共有しよう
第5回 沖テクNight〜インフラ領域へ潜水!〜 で発表したもの。
https://caadvance.connpass.com/event/286486/
高江洲順八
June 29, 2023
Tweet
Share
Other Decks in Programming
See All in Programming
CSC307 Lecture 02
javiergs
PRO
1
780
CSC307 Lecture 04
javiergs
PRO
0
660
Best-Practices-for-Cortex-Analyst-and-AI-Agent
ryotaroikeda
1
110
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
220
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
610
Grafana:建立系統全知視角的捷徑
blueswen
0
330
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.4k
CSC307 Lecture 05
javiergs
PRO
0
500
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
320
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
140
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
200
生成AIを使ったコードレビューで定性的に品質カバー
chiilog
1
270
Featured
See All Featured
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
590
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.6k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
0
140
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
How to make the Groovebox
asonas
2
1.9k
Scaling GitHub
holman
464
140k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
280
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
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