Changes
Page history
Create linux installation
authored
Jan 18, 2024
by
yannick legoc
Show whitespace changes
Inline
Side-by-side
linux-installation.md
0 → 100644
View page @
206096e4
## Node.js dependency
### Debian
To install Node.js, use the following commands to get version 20.x:
$ curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -
$ sudo apt-get install -y nodejs
This will install
*npm*
which will be used to build and start the application.
Get the
*node-gyp*
tool:
$ sudo npm install -g node-gyp
The proxies must have been setup previously.
To rebuild the addons, launch:
$ ./node-gyp-electron.sh
## Notes
If you need to set the proxy at the ILL:
$ npm config set proxy http://proxy.ill.fr:8888
$ npm config set https-proxy http://proxy.ill.fr:8888
And use the proxy for installing node-gyp:
$ node-gyp configure --proxy=http://proxy.ill.fr:8888/