First draft of a Windows dev environment setup doc#6
First draft of a Windows dev environment setup doc#6Aescwine wants to merge 2 commits intoOriginTrail:masterfrom
Conversation
There was a problem hiding this comment.
Great way to run the node on Windows using WSL 2.
There are a few things that seem to be outdated:
-
You should use on line 92
git checkout v6/release/testnet -
The .env file doesn't require PUBLIC and PRIVATE keys anymore
-
Missing creation of .origintrail_noderc in the instructions, but they are similar to the ones provided on the dockerless guide
-
I see you are not using forever to keep the node running, which I personally do not like either. I suggest creating services for graphdb, mysql and the node to have them all running in the background. Refer to my commit for the exact service to add, if you wish.
|
Thanks @Aescwine, will try to forward to some team mate next week to test it out. It would be awesome if you could take a look at try to adapt local network setup tool to start a network of nodes on windows, it is useful for development. @Valcyclovir thanks for review, just to add some additional info, this should be instructions for running ot-node in local environment for development. So instructions should have |
|
@NZT48 thanks. I've taken a look at adapting the local network setup tool for windows WSL, but to no avail yet. I've got so far as opening new terminals for the nodes, but haven't been successful getting the node start command to execute using the script. I'll take another look later in the week if I get some time. |
|
@NZT48 I've open a PR for a script to create multiple node configs for running a multi node network on Windows WSL: https://github.com/OriginTrail/ot-node/pull/1763/files It differs from the MacOS version in that the nodes need to be started manually, but all the config generation is automated, so I still think it is beneficial. |
Documentation for Windows development environment setup using WSL.