Sunday, July 17, 2016

npm install connect in Nodeclipse

If you want to install connect module in nodeclipse, first thing you have to do is opening the package.json in your nodeclipse project like this :
Next.... add dependencies for connect-flass as shown below :
Next... right click on package.json, choose "Run as -- npm install" :
aaaand... doneee....
You can also install another module by just adding it here on depencies section, for example adding  "passport-google-oauth": "*", 
Then run it again as npm install...
Well... that's all... :D :D :D :D

Membuat Hellow World Node.js pake Nodeclipse

Nodeclipse itu free IDE untuk node.js.... So silahkan download di sini....

Terus silahkan download, terus silahkan diextract....abis itu silahkan di run... :D


Teruuuus..... kita buat new project... klik file , new, terus other :
Terus pilih Node.js project :
Ini projectnya kita pilih yang template empty dl... :)
Teruss... tambain file javascript baru,,, klik kanan projectnya terus pilih new, javascript file ;
Terus taorin container, dan nama filenya ;
Daaan... hasilnya :
Terus silahkan tambahkeun Hellow Worldnya :v
Klu di run...


Yeeeei.... :v :v :v