Open
Conversation
Contributor
Author
|
とりあえずこういった粒度で書いてみたのですがいかがでしょうか…ということで…。 こういった粒度の記事を公式開発者ドキュメント上に置けないか、もう少し新規参入者が環境構築しやすくなる方法など検討できないかなどご相談したく思います。 |
- 関連ツールのセットアップ(WSL, Git, Docker, VSCode)に関する手順もある程度含む
9c78a70 to
8355389
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
従来のインストール手順は、「ECCUBE4を動作させる」ことに重点をおいて書かれているように個人的に感じているが、
一歩踏み込んで「カスタマイズ・本体開発に利用できる開発環境を一から構築する」という観点の記事を再整備したい。
参考:Growi 開発ガイド
開発環境構築についてはQiita等の個人記事で触れられていることは多いと思うが、最新バージョンに対応した開発環境構築方法は公式の開発者ドキュメントとして用意しメンテナンスできないか。
もちろん開発者によって好みのエディタや構築方法などはあると思うが、「これに従えば開発を開始できる」ものを再検討することは開発者の参入のしやすさにつながるのではないかと考えている
たたき台
コンテナ開発を行うことを前提に、以下のような開発環境構築手順を作成してみました。
WSLのセットアップ・Gitの設定・VSCodeの準備・ワークスペース準備・devcontainerの起動
※元々「DockerComposeを用いてインストールする」への勘所に追記のようなつもりで作成していましたが、
補足を加えたら当初とかなり粒度が変わってしまったため、別ドキュメントとしての提案に至ります。
http://localhost:4000/quickstart/dev-startup-v2
盛り込みたかった内容
「ECCUBE4のDockerは遅い」と言われることが多いため、対策を記述したい。ここをしっかり整理したいのが本題の一つ
Windows版DockerDesktop (WSL Based) は、ワークスペースをWSLファイルシステムに配置することで飛躍的に速度が改善する旨は強く伝えたい
Mac用の記述はWindowsユーザーの筆者が想像で書いているので、有効さを検証した上で盛り込みたい
platform: linux/amd64指定を行うことで動作可能になると聞くが、M1利用者による検証が必要その他メモ