Skip to content

Commit d5b4ae9

Browse files
committed
Clarify notes for Mise and PostgreSQL
Sometimes, less is more ;)
1 parent d02444c commit d5b4ae9

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

README.md

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ projects.
1919
2. Search for `CHANGEME` in the newly created repository to adapt it to your
2020
needs.
2121

22+
3. Pick nix-shell or Mise for the development environment.
23+
2224
## nix-shell for Elixir and Phoenix
2325

2426
Reproducible development environment for Elixir/Phoenix projects which relies on
@@ -33,19 +35,21 @@ package manager.
3335

3436
## Mise
3537

36-
Development environment relying on [Mise](https://mise.jdx.dev/) to install
37-
Elixir and Erlang. It's an alternative to the `nix-shell` approach.
38+
We rely on [Mise](https://mise.jdx.dev/) to install tools, set environment
39+
variables, and run tasks. Refer to [mise.toml](mise.toml) for details. See what
40+
is available with:
3841

39-
## Docker-Compose for PostgreSQL
42+
```bash
43+
mise run
44+
```
4045

41-
Setting up PostgreSQL inside nix-shell is cumbersome, so relying on the official
42-
Docker image for PostgreSQL is much simpler.
46+
## Docker-Compose for PostgreSQL
4347

44-
### Usage
48+
Start with:
4549

46-
1. Copy [docker-compose.yml](./docker-compose.yml) at the root of your
47-
Elixir/Phoenix project.
48-
2. Start with `docker-compose up`.
50+
```bash
51+
docker-compose up
52+
```
4953

5054
## SQLite
5155

0 commit comments

Comments
 (0)