Skip to content

開発環境の最低限のセットアップ - #1

Merged
chanchan-co merged 21 commits into
masterfrom
chore/setup
Oct 18, 2025
Merged

開発環境の最低限のセットアップ#1
chanchan-co merged 21 commits into
masterfrom
chore/setup

Conversation

@chanchan-co

Copy link
Copy Markdown
Owner

概要

  • 開発環境で最低限のセットアップを実施

やったこと

  • docker-compose.yml'をcompose.yml`にリネームして内容修正
  • テスト用のcompose.test.ymlを作成
  • 環境変数周りの整備
  • Makefileを作成
  • アプリケーションの設定追加
  • 開発に必要なgemを追加
rubocop
rubocop-rails
rubocop-shopify
annotate
  • テストに必要なgemを追加
factory_bot_rails
shoulda-matchers
shoulda-context
minitest-power_assert
faker

やっていないこと

  • その他の設定およびGemの追加(開発進行に応じて適宜対応予定)

確認事項

  • make build を実行
    • 開発環境のビルドが完了すること
  • make up を実行
    • webコンテナとdbコンテナが起動すること
  • make init を実行
    • DBの作成が完了すること(migrateおよびseedは現時点ではないので未確認)
  • http://localhost:3000/ にアクセス
    • railsの画面が表示されていること
スクリーンショット 2025-10-18 23 48 16
  • make test-build を実行
    • テスト環境のビルドが完了すること
  • make test-up を実行
    • test-webコンテナとtest-dbコンテナが起動すること
  • make test-web-bashを実行してコンテナに入る
  • rails db:createを実行する
    • DBの作成が完了すること
  • rails test を実行する
    • エラーにならないこと(現時点ではテストがないのでOK)
  • rubocop を実行する
    • 全てグリーンになること

@chanchan-co
chanchan-co merged commit 8d15bb8 into master Oct 18, 2025
@chanchan-co
chanchan-co deleted the chore/setup branch October 18, 2025 15:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant