Skip to content

open-knowledge-org/nodejs-sandbox

Instalation
sudo apt-get update
sudo apt-get install node
Running
  • Choose a node file (ex: basic.js), and run:
node basic.js
Testing
curl http://localhost:8080
References
Setting a proxy and repository [just if necessary]
npm config set registry http://your_repository
npm config set proxy http://proxy_host:port
npm config set https-proxy http://proxy_host:port
npm config set strict-ssl false
Unsetting a proxy and repository
npm config set registry http://registry.npmjs.org/
npm config rm proxy http://proxy_host:port
npm config rm https-proxy http://proxy_host:port
Credits