Skip to content

Commit d00f2f4

Browse files
committed
Improve guide for windows users
1 parent 0d9bbc6 commit d00f2f4

File tree

1 file changed

+2
-2
lines changed
  • docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides

1 file changed

+2
-2
lines changed

docs/developer-docs/latest/setup-deployment-guides/deployment/hosting-guides/heroku.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ The following tabs detail how to either set new values for the secrets or transf
265265

266266
:::: tabs card
267267

268-
::: tab Set new secrets
268+
::: tab Set new secrets Mac adn Linux
269269

270270
The following `openssl` commands will generate random new secrets (Mac and Linux only) and set the config values:
271271

@@ -296,7 +296,7 @@ heroku config:set NODE_ENV=production
296296
:::
297297

298298
:::tip
299-
On Windows, variables can be set manually by running the `heroku config:set VARIABLE=your-key-here` for each variable.
299+
On Windows, secrets can be generated manually by running `node -p "require('crypto').randomBytes(48).toString('base64');"` and subsequently set on Heroku using the command `heroku config:set SECRET_NAME=your-key-here` for each variable.
300300
:::
301301

302302

0 commit comments

Comments
 (0)