Skip to content

Commit

Permalink
[TECH] Ajoute un fichier .env d'exemple
Browse files Browse the repository at this point in the history
  • Loading branch information
pix-service-auto-merge authored Feb 10, 2022
2 parents 8045e41 + 480c414 commit fc9055a
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ If not present, Metabase cards will not be loaded.
- type: String
- default: none

## Build Setup pix-site
## Build Setup

En dev, copier le fichier `sample.env` vers un `.env` et remplacer les valeurs.

### pix-site

```bash
# install dependencies
Expand All @@ -88,7 +92,7 @@ $ npm run build:site
$ npm run start:site
```

## Build Setup pix-pro
### pix-pro

```bash
# install dependencies
Expand All @@ -102,8 +106,7 @@ $ npm run build:pro
$ npm run start:pro
```


## Build Setup sur Scalingo
### Scalingo

```bash
# install dependencies
Expand Down
9 changes: 9 additions & 0 deletions sample.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
PRISMIC_API_ENDPOINT=<PRISMIC_API_ENDPOINT>
PRISMIC_API_TOKEN=<PRISMIC_API_TOKEN>

METABASE_USERNAME=<METABASE_USERNAME>
METABASE_PASSWORD=<METABASE_PASSWORD>
METABASE_API_URL=<METABASE_API_URL>

DOMAIN_FR=localhost:5000
DOMAIN_ORG=localhost:5000

0 comments on commit fc9055a

Please sign in to comment.