|
Download Evaluate/projects/deltachat-core/rust/node/windows.md from SYSUSELab/RustRepoTrans: direct link, hf CLI and curl.
- Browser
- Download file 740 Bytes
-
https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/deltachat-core/rust/node/windows.md
- Command line
-
hf download hf://datasets/SYSUSELab/RustRepoTrans/Evaluate/projects/deltachat-core/rust/node/windows.md
-
curl -L -o windows.md https://huggingface.co/datasets/SYSUSELab/RustRepoTrans/resolve/main/Evaluate/projects/deltachat-core/rust/node/windows.md
740 Bytes
Steps on how to get windows set up properly for the node bindings
install git
E.g via https://git-scm.com/download/win
install node
Download and install v18 from https://nodejs.org/en/
install rust
Download and run rust-init.exe from https://www.rust-lang.org/tools/install
configure node for native addons
$ npm i node-gyp -g
$ npm i windows-build-tools -g
windows-build-tools will install Visual Studio 2017 by default and should not mess with existing installations of Visual Studio C++.
get the code
$ mkdir -p src/deltachat
$ cd src/deltachat
$ git clone https://github.com/deltachat/deltachat-node
build the code
$ cd src/deltachat/deltachat-node
$ npm install