For anyone wandering, this works from the command line. So, replace export with SET and rename the file as a .bat and run it (without the "source") it'll work a treat.
On Saturday, 13 September 2014 11:47:37 UTC+1, Ryan Graham wrote: > > source is a *nix (or POSIX maybe?) shell command that reads the file > (env_local in this case) and runs it in the current shell. > > It's been so long since I used Windows that I don't know if Windows has an > equivalent. What you could do instead is set the environment variables > directly yourself with SET. > > The example gives a bunch of lines starting with "export". Run each of > those lines as a command, but replace "export" with "SET". Then run the > migration command in the same terminal. > > You could also replace that file with a .bat script, but I'll refrain from > saying how to do that because I don't want to confuse anyone if I remember > it wrong. > > ~Ryan > > On Fri, Sep 12, 2014 at 12:45 PM, Michael Andrews <[email protected] > <javascript:>> wrote: > >> So I'm trying to install openbadges following this tutorial, this part >> specifically >> >> https://github.com/mozilla/openbadges-badgekit/wiki/BadgeKit-Self-Hosting-Guide#badgekit-api-database >> >> The problem I have is it tells me I need to set the source, but I don't >> know how to do that on a windows machine. I've tried >> >> Node >> source env_local >> >> but it just gives me this >> http://i.imgur.com/sR6QHkl.png >> >> I'm new to node so sorry if it's a dumb question. But how do I set the >> source, so I can run that db migrate command? >> >> -- >> Job board: http://jobs.nodejs.org/ >> New group rules: >> https://gist.github.com/othiym23/9886289#file-moderation-policy-md >> Old group rules: >> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines >> --- >> You received this message because you are subscribed to the Google Groups >> "nodejs" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/nodejs/41a5abea-75be-430f-be95-b9a7415cf22d%40googlegroups.com >> >> <https://groups.google.com/d/msgid/nodejs/41a5abea-75be-430f-be95-b9a7415cf22d%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> For more options, visit https://groups.google.com/d/optout. >> > > > > -- > http://twitter.com/rmgraham > -- Job board: http://jobs.nodejs.org/ New group rules: https://gist.github.com/othiym23/9886289#file-moderation-policy-md Old group rules: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/nodejs/856403c3-68a2-4c10-8550-3190e216cfdd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
