2013年8月2日星期五

Completely fool-build based on nodejs + express + vCloudFoundrysite


only need to follow the steps below, silly over again, we can have an own website out

(fool step) node.js + express + npm

[Reference article: http://lingzuer.com/?p=138 ]

(1) nodejs installation (note node.js version on the back of a great influence on other components installed)

(2) npm install (node.js package manager to help install and publish the project node.js)

(3) express installation (excellent framework for more efficient development node.js program)

installation process may need to install additional dependencies, or installation errors, you can try to download source code after compilation.

(fool step) node.js + express simple example

[Reference article: http://shapeshed.com/journal/ creating-a-basic-site-with-node-and-express / ]

(fool the third step) will be deployed to the server node.js free space

[Reference article: http://witcheryne.iteye.com/blog/1160111 ]

go directly to register an account after successful registration message sent back links according to the Guide, you can build one yourself suffix cloudfoundry.com page. (Tips: Cloud Foundry open source, the source code provided above, you can build yourself a Cloud Foundry Oh, deploy node.js project simply vmc push and then do a little modification.)

When using the Cloud Foundry

need to install vmc, installed process will be wrong, mostly other dependencies package version problem if rubygems and ruby-full.

 

Conclusion: For amateurs, the above steps nodejs enough to allow you to experience and express, and get a great sense of accomplishment. But this is just experience! After the experience or what you will not just give you a great interest in learning, then good for it!

没有评论:

发表评论