Skip to content

Commit

Permalink
Merge pull request #130 from nachopro/fix/README.md
Browse files Browse the repository at this point in the history
Fix README.md to Docker user case
  • Loading branch information
matagus authored Jun 21, 2024
2 parents ad5d8c1 + 4d51104 commit 5a28a43
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,21 @@ git clone [email protected]:matorral-project/matorral.git
cd matorral
```

2. Run the following command:
2. Create the .env file (and customize it if you want):
```bash
cp config/env.example config/.env
```

3. Run the following command:

```bash
docker-compose up -d
```

3. Create a superuser:
4. Create a superuser:

```bash
docker-compose run --rm web sh -c "hatch run prod:python manage.py createsuperuser
docker-compose run --rm web sh -c "hatch run prod:python manage.py createsuperuser"
```

You will be asked a username, email and password for the superuser at the end of the process.
Expand Down

0 comments on commit 5a28a43

Please sign in to comment.