It's possible to use your favourite Windows IDE locally and build, test and run ARK Core in a native Linux environment. This can be done by using Docker for Windows.
Follow your operating system instructions and install:
Once you installed Docker Desktop for Windows you'll have to configure Shared Drives so your Linux container can mount ARK Core repository cloned locally on your Windows system. Make sure your firewall and antivirus are turned off or configured to allow the above operation. Follow Docker Documentation - section Shared Drives.
Unless your IDE has a special setting to preserve Unix format EOL, every file you edit and save in Windows will be converted to Windows format i.e. it will be CRLF instead of LF.
Clone official ARK Core repository. Recommended branch to use for development is
develop. Our example uses
D:\core as a PATH where we checkout the core repo, so if you do not want to edit
docker-compose.yml, you just go ahead and clone ARK Core to the same path.
cd d:\git clone https://github.com/ArkEcosystem/corecd coregit checkout develop
cd d:\git clone https://github.com/ArkEcosystem/core-docker
Open PowerShell as Administrator and enter the following code:
cd core-docker/windowsdocker-compose up -d
Entering the container shell with the following command:
docker exec -it ark-testnet-core bash
You can now build and run ARK Core from inside the container. Example:
cd /coreyarn setup
cd /core/packages/coreyarn full:testnet
You can jump to Spinning Up Your First Testnet Section here and test your local Core Server, by following the link below: