What’s the use of having a dev version when one can open the non-dev version in mock mode?
I just tried. Mock no longer works in non-dev. I was sure at some later point I no longer needed that and had 3 or 2 apps, one version of version of Peruse and two of WHM… I think. With Peruse I’m certain that I started to only need one.
Working away from home right now and using an oldish laptop with none of my current “stuff” on it.
So I download and unzip both versions of safe-browser and WHM
open two terminals - cos I want to look at any output
set NODE_ENV=dev in both terminals
in first terminal:
cd ~/projects/maidsafe/safe-browser-v0.13.0-linux-x64-dev
./safe-browser
create new account as usual -all looks well
in second terminal:
cd ~/projects/maidsafe/web-hosting-manager-v0.5.1-linux-x64-dev
./web-hosting-manager
get message waiting for authorisation - seems fair…
You may need NODE_ENV=test instead, for running the WHM dev @southside , for the browser you shouldn’t need any env var set if using the packaged dev version already
That’s a normal message (though maybe should be reworded now, or maybe not show up for prod versions at all.) (For the curious its a new ‘browser process’ starting and closing itself when it sees there’s one already open. This passes any command line args to the already running process).
The IncompatibleMockStatus should indicate that one of the programs isn’t in mock mode. But it may also mean that their running incompatible safe_app versions.
Let me check locally @southside, ill get back to you.
Thank you
this works NODE_ENV=test ~/projects/maidsafe/web-hosting-manager-v0.5.1-linux-x64-dev/web-hosting-manager
this does NOT work
willie@sputnik:~/projects/maidsafe$ echo $NODE_ENV
test
willie@sputnik:~/projects/maidsafe$ ./web-hosting-manager-v0.5.1-linux-x64-dev/web-hosting-manager
This instance should quit. Ciao!
so although I had already set the env variable earlier in the terminal session, it did not seem to be recognised and has to be specifically set on the command line itself
Ah, I tried it with NODE_ENV=dev not test Glad you got that going @southside
yes, @folaht, the WHM is less than ideal. I wholeheartedly agree. (You may notice the browser doesn’t require env vars to be set at all).
Sadly we’re not currently focussing on the WHM beyond maintaining compatibility for the browser. PRs to update documentation (or indeed fix issues) are very welcome though!