diff --git a/.windsurf/rules/local-environment.md b/.windsurf/rules/local-environment.md index 16e7d74..bdc37aa 100644 --- a/.windsurf/rules/local-environment.md +++ b/.windsurf/rules/local-environment.md @@ -1,7 +1,5 @@ --- trigger: always_on -description: -globs: --- # Local Environment @@ -10,6 +8,9 @@ globs: ### Essential Commands +This project uses [mise](https://mise.jdx.dev/) for managing Elixir and Erlang versions. To run Elixir or Erlang commands, prepend `mise exec --`, for example, `mise exec -- mix test` or `mise exec -- iex -S mix phx.server`. + + ```bash # Testing mix test # Run all tests @@ -29,7 +30,7 @@ mix phx.server # Start Phoenix server iex -S mix phx.server # Start with interactive shell ``` -# Database Management +## Database Management - **Reset Development Databases**: - Use `mix reset.dev` to reset both EventStore and Ecto databases. @@ -40,4 +41,4 @@ iex -S mix phx.server # Start with interactive shell - **Reset Test Databases**: - Use `mix reset.test` or: - `MIX_ENV=test mix ecto.reset` - - `MIX_ENV=test mix eventstore.reset` + - `MIX_ENV=test mix eventstore.reset` \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md index 825c8dd..ca265b0 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -19,6 +19,8 @@ This is the backend API for the Reply Express application, built with Elixir and ## Essential Commands +This project uses [mise](https://mise.jdx.dev/) for managing Elixir and Erlang versions. To run Elixir or Erlang commands, prepend `mise exec --`, for example, `mise exec -- mix test` or `mise exec -- iex -S mix phx.server`. + ### Development Setup ```bash diff --git a/CLAUDE.md b/CLAUDE.md index 060bdb1..447a8d2 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,6 +4,8 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Essential Commands +This project uses [mise](https://mise.jdx.dev/) for managing Elixir and Erlang versions. To run Elixir or Erlang commands, prepend `mise exec --`, for example, `mise exec -- mix test` or `mise exec -- iex -S mix phx.server`. + ### Development Setup ```bash diff --git a/GEMINI.md b/GEMINI.md index 81ac92d..134703c 100644 --- a/GEMINI.md +++ b/GEMINI.md @@ -36,6 +36,8 @@ database directly from a controller. ## 4. Development Workflow +This project uses [mise](https://mise.jdx.dev/) for managing Elixir and Erlang versions. To run Elixir or Erlang commands, prepend `mise exec --`, for example, `mise exec -- mix test` or `mise exec -- iex -S mix phx.server`. + ### Initial Setup 1. Copy the example config: `cp config/dev.local.example.exs config/dev.local.exs` (and fill in values)