This refers to the tutorial https://hub.safedev.org/platform/nodejs/
I have been following this tutorial, but there is one section that I don’t understand. It’s this bit:
“In this tutorial we will be using the SAFE Browser package that is built to work with the mock network. So please go ahead and download the one corresponding for your platform, and unzip the package in your PC. Before we launch it let’s go ahead and set the NODE_ENV environment variable set to dev to have our browser to effectively use the native libraries for mock routing:
$ export NODE_ENV=dev
You can now launch the browser (make sure you launch it from the same console where you just set the NODE_ENV variable)”
I have downloaded and unzipped ‘safe-browser-mock-v0.10.2-win-x64’.
But now I am just guessing. Am I setting the environment variable using Git Bash? It doesn’t say.
If so do I right click on the ‘safe-browser-mock-v0.10.2-win-x64’ folder, select Git Bash here and run $ export NODE_ENV=dev? When I try this, I get no errors, but I don’t know if it has worked.
Then I have to “make sure you launch it from the same console where you just set the NODE_ENV variable”. How do I do that?
I am now stuck. Any ideas anyone?
Thanks in advance, Malcolm