YanshuoH / NOMP-Web

NOMP node.js version
0 stars 7 forks source link

Hebergement log #170

Closed YanshuoH closed 10 years ago

YanshuoH commented 10 years ago

logs:

Connected to saphir.utt.fr with login sudo -i install nodejs in /etc/nodejs install npm in /etc/npm install express and socket.io in /etc/npm install mongodb in /etc/mongodb (added mongodb yum repo) install git in /etc/git install xclip in /etc/xclip for managing ssh key add ssh agent in ~/.ssh/nomp for connecting git: { run ssh agent with : eval ssh-agent -s normally git works, if not, add: ssh-add ~/.ssh/nompweb with of course a passphrase nompweb } install/update npm modules in project repo Some debug works........... install groupinstall "Development tool" install kernel-devel kernel-headers git push origin master

DONE!!! Test ok with existing config (localhost 3000)

@mrstrlc-yipeng , could you please do the node-http-proxy? I've tried but I don't know how to edit files in init.d

Thanks.

Yanshuo

YanshuoH commented 10 years ago

To start both mongo db and NOMP server in saphir.utt.fr Do: nohup /etc/init.d/nomp-mongod start & nohup /etc/init.d/nompweb start &

You'll see the start script in etc/init.d/

YanshuoH commented 10 years ago

Since I've opened port 80 for saphir.utt.fr, we don't need enter n.port in future.

phamour commented 10 years ago

installed Monit configured /etc/monit.conf to restart nompweb as service when saphir.utt.fr:3000 does not respond

now the configuration of vm and deployment of web-app is basically done. RESTful API test ok.

Mobile app is now on the list.

YanshuoH commented 10 years ago

@babiga Now you need to add :3000 to access the site. (http://saphir.utt.fr:3000)