Skip to content

Commit

Permalink
removing mention of .env file parsed (platformsh#3500)
Browse files Browse the repository at this point in the history
* removing mention of .env file parsed

* Update sites/friday/src/get-started/express/add-database.md

---------

Co-authored-by: AnouckColson <[email protected]>
  • Loading branch information
flovntp and AnouckColson authored Oct 10, 2023
1 parent 76a9cb1 commit 989a86a
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions sites/friday/src/get-started/express/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -185,12 +185,12 @@ These YAML configuration files are located into a `.{{% vendor/cli %}}/` folder
my-express-app
├── .{{% vendor/cli %}}
│ └── config.yaml
├── .environment
├── [.environment]
└── <project sources>
```
{{< note >}}
An additional `.environment` file is located at the root of your source code, this file will override `.env` environment variables with {{% vendor/name %}} specific ones.
{{% get-started/environment-note %}}
{{< /note >}}
To pre-generate these YAML files, please use the following command from the root of your Express project and follow the prompts:
Expand Down
2 changes: 1 addition & 1 deletion sites/friday/src/get-started/express/add-database.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export DB_PASSWORD="$(echo $RELATIONSHIPS_JSON | jq -r '.mariadb[0].password')"
```

{{< note >}}
This additional `.environment` file is located at the root of your source code. During deployment of your {{% vendor/name %}} project, this file will override existing `.env` environment variables with {{% vendor/name %}} specific ones.
This additional `.environment` file is located at the root of your source code. This file contains {{% vendor/name %}} specific environment variables that will be used during the deployment of your project.
{{< /note >}}

Commit your change:
Expand Down
4 changes: 2 additions & 2 deletions sites/friday/src/get-started/nextjs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,12 +171,12 @@ These YAML configuration files are located into a `.{{% vendor/cli %}}/` folder
my-nextjs-app
├── .{{% vendor/cli %}}
│ └── config.yaml
├── .environment
├── [.environment]
└── <project sources>
```
{{< note >}}
An additional `.environment` file is located at the root of your source code, this file will override `.env` environment variables with {{% vendor/name %}} specific ones.
{{% get-started/environment-note %}}
{{< /note >}}
To pre-generate these YAML files, please use the following command from the root of your Next.js project and follow the prompts:
Expand Down
4 changes: 2 additions & 2 deletions sites/friday/src/get-started/strapi/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@ These YAML configuration files are located inside a `.{{% vendor/cli %}}/` folde
my-strapi-project
├── .{{% vendor/cli %}}
│ └── config.yaml
├── .environment
├── [.environment]
└── <project sources>
```
{{< note >}}
An additional `.environment` file is located at the root of your source code, this file will override `.env` environment variables with {{% vendor/name %}} specific ones.
{{% get-started/environment-note %}}
{{< /note >}}
To pre-generate these YAML files, please use the following command from the root of your Strapi application and follow the prompts:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
An additional `.environment` file could be located at the root of your source code, this file would contain {{ .Site.Params.vendor.name }} specific environment variables.

0 comments on commit 989a86a

Please sign in to comment.