Reputation: 1033
The title pretty much says it all. How do you do it?
I'm trying to set up the accounts-facebook package but it keeps passing localhost off for the OAUTH handshake.
On a *nix environment, it's done as such:
ROOT_URL="http://www.mydomain.com/" meteor run
but this doesn't work on Windows.
Upvotes: 0
Views: 1925
Reputation: 1346
Easy two line version:
set ROOT_URL=http://www.example.com:3000
meteor run
One line version, if you really need it:
cmd /c "set ROOT_URL=http://www.example.com:3000&& meteor run"
(Notice there is no space between the URL and the &&: the space gets included in the URL, which breaks meteor, as it will use that space in its URL.)
Source: Setting environment variable for just one command in Windows cmd.exe
Upvotes: 0
Reputation: 5317
I cant test it for you, but you would set it like any other ENV variable in windows...
http://itechtalk.com/thread3595.html should help
set some_variable = some_value
Upvotes: 2