Skip to content

Commit

Permalink
Merge pull request #988 from alexandrabrbk/master
Browse files Browse the repository at this point in the history
Correction README.md
  • Loading branch information
dbarzin authored Nov 29, 2024
2 parents 6e2db06 + 5e4f86f commit 4c064bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ Pour des instructions détaillées, veuillez vous référer aux guides d'install
Démarrez rapidement avec Docker. Exécutez une instance locale en mode développement :

```bash
docker run -it --rm -e USE_DEMO_DATA=1 -p 8000:80 ghcr.io/dbarzin/mercator:latest
docker run -it --rm -e USE_DEMO_DATA=1 -p 8000:8080 ghcr.io/dbarzin/mercator:latest
```
Pour rendre vos données persistantes avec SQLite :

```bash
touch ./db.sqlite && chmod a+w ./db.sqlite
docker run -it --rm -e APP_ENV=development -p 8000:80 -v $PWD/db.sqlite:/var/www/mercator/sql/db.sqlite ghcr.io/dbarzin/mercator:latest
docker run -it --rm -e APP_ENV=development -p 8000:8080 -v $PWD/db.sqlite:/var/www/mercator/sql/db.sqlite ghcr.io/dbarzin/mercator:latest
```

Populez la base de données avec des données de démonstration :

```bash
docker run -it --rm \
-e APP_ENV=development \
-p 8000:80 \
-p 8000:8080 \
-v $PWD/db.sqlite:/var/www/mercator/sql/db.sqlite \
-e USE_DEMO_DATA=1 \
ghcr.io/dbarzin/mercator:latest
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,22 +66,22 @@ For detailed instructions, please refer to the installation guides:
Get up and running quickly using Docker. Run a local instance in development mode:

```bash
docker run -it --rm -e USE_DEMO_DATA=1 -p 8000:80 ghcr.io/dbarzin/mercator:latest
docker run -it --rm -e USE_DEMO_DATA=1 -p 8000:8080 ghcr.io/dbarzin/mercator:latest
```

To persist your data using SQLite:

```bash
touch ./db.sqlite && chmod a+w ./db.sqlite
docker run -it --rm -e APP_ENV=development -p 8000:80 -v $PWD/db.sqlite:/var/www/mercator/sql/db.sqlite ghcr.io/dbarzin/mercator:latest
docker run -it --rm -e APP_ENV=development -p 8000:8080 -v $PWD/db.sqlite:/var/www/mercator/sql/db.sqlite ghcr.io/dbarzin/mercator:latest
```

Populate the database with demo data:

```bash
docker run -it --rm \
-e APP_ENV=development \
-p 8000:80 \
-p 8000:8080 \
-v $PWD/db.sqlite:/var/www/mercator/sql/db.sqlite \
-e USE_DEMO_DATA=1 \
ghcr.io/dbarzin/mercator:latest
Expand Down

0 comments on commit 4c064bb

Please sign in to comment.