Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows environment variables #19

Open
rldevries opened this issue Oct 31, 2022 · 1 comment
Open

Windows environment variables #19

rldevries opened this issue Oct 31, 2022 · 1 comment

Comments

@rldevries
Copy link

In Ch 2.6.7 and again in Ch 4.4.1, it says to create an environment variable using set PORT=3000
When I insert this line in bash or CLI or VS Code terminal, the results are the same - Cannot find variable PORT. I then created a global variable in Advanced system settings, Environment Variables, System Variables (rebooted system) and still a 'No-Joy'.

Any pointers are most welcomed and appreciated!

@grainnem7
Copy link

grainnem7 commented Apr 24, 2023

I was having this problem too.

In Ch 2.6.7, for powershell you should be able to use:
$env:PORT=3000

In Ch 4.4.1, for powershell use:
$env:PORT=3000
$env:STORAGE_ACCOUNT_NAME = "<the name of your storage account>"
$env:STORAGE_ACCESS_KEY = "<the access key for you storage account>"

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants