This is a source code of my own blog. But not yet finished.
It made by node.js, mongoose, express(ejs).
This blog's running under cloud foundry paas cloud service.
Url : http://sizers.cloudfoundry.com
It's same as another, normal node.js project
0. Surely, node.js, npm, mongodb must be installed on which machine You intend to install.
1. Copy this source to your machine.
2. Install related node module using npm(-d option)
3. Make a js file at same directory of app.js, name 'properties.js'
4. Declare a variable exports.mongodbUrl and your mongodb connection string in 'properties.js'
5. Then run the app.js file and enjoy~
I might think more
#=======================================================================
제 블로그의 소스코드입니다. 아직 완성되지 않았지만..
node.js, mongoose, express(ejs) 로 만들었습니다.
PAAS 클라우드서비스인 cloudfoundry에서 node.js호스팅서비스를 받고 있습니다.
Url : http://sizers.cloudfoundry.com
여느 node.js 프로젝트와 똑같습니다.
0. 당연히 ndoe.js, npm, mongodb가 설치하고자 하는 컴퓨터에 설치되어 있어야 하겠죠..
1. 이 소스코드를 복사합니다.
2. npm의 -d옵션을 이용해서 node의 관련모듈들을 설치합니다.
3. 'properties.js'라는 js파일을 app.js와 같은 디렉토리에 하나 만듭니다.
4. exports.mongodbUrl 라는 변수를 하나 선언해서 당신의 mongodb 커넥션스트링을 셋팅해줍니다.
5. app.js를 실행시키고 마음껏 즐기세요..
고려중..