Skip to content

Commit

Permalink
Merge pull request #1005 from wss-git/wss/update-getting_started
Browse files Browse the repository at this point in the history
docs(docs/getting_started): .env file add parameter
  • Loading branch information
anycodes authored Sep 22, 2020
2 parents 3e995e0 + c2fa1ef commit 0637391
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions docs/usage/getting_started-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ ACCESS_KEY_ID=xxxxxxxxxxxx
ACCESS_KEY_SECRET=xxxxxxxxxx
TIMEOUT=10
RETRIES=3
FC_ENDPOINT=xxxxxxxxxx
ENABLE_CUSTOM_ENDPOINT=false/true
```

建议将 .env 放到 .gitignore 中,避免泄漏重要的账户信息。
Expand Down
2 changes: 2 additions & 0 deletions docs/usage/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ ACCESS_KEY_ID=xxxxxxxxxxxx
ACCESS_KEY_SECRET=xxxxxxxxxx
TIMEOUT=10
RETRIES=3
FC_ENDPOINT=xxxxxxxxxx
ENABLE_CUSTOM_ENDPOINT=false/true
```

It is recommended to add the `.env` into `.gitignore` file to prevent your account credentials from being checked into code repository.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@alicloud/fun",
"version": "3.6.15",
"version": "3.6.16",
"description": "(have)Fun with Serverless",
"engines": {
"node": ">=8.6.0"
Expand Down

0 comments on commit 0637391

Please sign in to comment.