-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #130 from nachopro/fix/README.md
Fix README.md to Docker user case
- Loading branch information
Showing
1 changed file
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|