node.js - How to use and setup NodeJS for production? -



node.js - How to use and setup NodeJS for production? -

i'm php programmer , i'm discovering world of nodejs.

i installed node on local computer , that's ok, can create stuff work, i'm not quite used fact of using terminal/cmd programming. think bear that.

i'm pretty used fact when need place on internet, purchase domain, 99.9% of them have php installed on, , that's ok, can along great few easy steps.

this seems me totally different in nodejs. tried asking hosting if install nodejs on server, said no.

i tried find nodejs hosting, exist cost crazy, asking same cost pay total year "normal" hosting single month...

even www.openshift.com see there free hosting 3rd level domain , i'm not used not seeing files , not beingness able of doing want.

so, i'm not getting quite how nodejs works, can explain me how node can used production , if i'm on right path?

do have have special domain or special setup server have node installed or can set in current host?

well node's command line not node website uses run. utilize node kick off long-running process. "node somefile.js" how execute pre-made script on command line. starting file calls in more files via require or other construct.

you're making website? there tons of guides out there help choose, http://expressjs.com/ 1 of mutual frameworks. can follow guides there mess around. heroku free host low traffic sites. perfect creating , messing around.

hope helps!

node.js

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -