Skip to content
This repository has been archived by the owner on Mar 30, 2024. It is now read-only.

Commit

Permalink
docs: make docker image version parametric
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene authored Sep 27, 2023
1 parent 6f6f20a commit 17fd463
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,13 @@ You can then reach MIRA using your web brower at [http://127.0.0.1:8000/](http:/
2. Build the image with an appropriate tag (e.g. *mira:[version](mira/VERSION)*), for example:

```sh
docker build . -t mira:3.0.2
docker build . -t mira:$(<mira/VERSION)
```

3. Once this is done, you can simply start-up MIRA by running:

```sh
docker run --rm -it --env CREATE_SUPERUSER=true -p 8000:8000 -v ./db:/code/db mira:3.0.2
docker run --rm -it --env CREATE_SUPERUSER=true -p 8000:8000 -v ./db:/code/db mira:$(<mira/VERSION)
```
When asked for, enter your email and password for your superuser.

Expand All @@ -111,7 +111,7 @@ You can then reach MIRA using your web brower at [http://127.0.0.1:8000/](http:/
For the following executions, simply run:

```sh
docker run --rm -p 8000:8000 -v ./db:/code/db mira:3.0.2
docker run --rm -p 8000:8000 -v ./db:/code/db mira:$(<mira/VERSION)
```

⚠️ *WARNING*: If you're using WSL you'll need to activate *Systemd*. Check out this [topic](https://stackoverflow.com/questions/65400999/enable-systemd-in-wsl-2) to do it.
Expand Down

0 comments on commit 17fd463

Please sign in to comment.