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

Commit

Permalink
Merge pull request #2 from intuitem/improve-readme-docker
Browse files Browse the repository at this point in the history
Update readme.md
  • Loading branch information
ab-smith authored Sep 21, 2023
2 parents 7e9a67d + d9ed2b8 commit 020c6a9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,12 @@ python manage.py collectstatic
python manage.py createsuperuser
```

5. Run [MIRA](http://127.0.0.1:8000/)
5. Run MIRA

```sh
python manage.py runserver
```
You can then reach MIRA using your web brower at [http://127.0.0.1:8000/](http://127.0.0.1:8000/)

#### Using Docker

Expand All @@ -86,11 +87,14 @@ python manage.py runserver
docker build . -t mira:3.0.2
```

3. Once this is done, you can simply start-up [MIRA](http://127.0.0.1:8000/) by running:
3. Once this is done, you can simply start-up MIRA by running:

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

You can then reach MIRA using your web brower at [http://127.0.0.1:8000/](http://127.0.0.1:8000/)

For the following executions, simply run:

Expand Down

0 comments on commit 020c6a9

Please sign in to comment.