Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Put more emphasis on having .env in gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasEllul committed Feb 10, 2021
1 parent 6d65213 commit 249668c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,16 @@ src/
index.ts
```

If your application is in a Git repository, you should make sure to add these files to `.gitignore`:
If your application is in a Git repository, you should **make sure to add these files to `.gitignore`**.

```
.env
dist
node_modules
```

**Important:** If you ever accidentally commit your API secret to GitHub or any other third party, you can follow [this tutorial](https://shopify.dev/tutorials/rotate-revoke-api-credentials) on how to generate new credentials for your application.

`tsconfig.json`
```json
{
Expand Down

0 comments on commit 249668c

Please # to comment.