더북(TheBook)

이제 Projects 폴더에서 meteor create test를 입력하고 엔터를 치면 test 프로젝트가 생성된다. 프로젝트를 처음 생성할 때는 필요한 패키지를 받아서 설치하므로 시간이 걸린다. 미티어 프로젝트는 폴더 단위로 생성되므로 test 폴더가 생성된다.

test 프로젝트 생성

C:₩Projects>meteor create test

    Extracting templating-compiler@1.3.2... /

Created a new Meteor app in 'test'.

 

To run your new app:

  cd test

  meteor

 

If you are new to Meteor, try some of the learning resources here:

  https://www.meteor.com/learn

 

meteor create --bare to create an empty app.

meteor create --full to create a scaffolded app.

 

C:₩Projects>


cd test를 입력해서 test 프로젝트 폴더로 이동한 뒤 meteor를 실행해보자. 몽고DB 실행과 프로젝트 빌드를 처음 수행하므로 어느 정도 시간이 걸린다. 다음과 같이 미티어가 실행된다(윈도 방화벽 경고가 표시되면 액세스 허용을 선택한다).

미티어 실행

C:₩Projects>cd test

C:₩Projects₩test>meteor

[[[[[ C:₩Projects₩test ]]]]]

 

=> Started proxy.

=> Started MongoDB.

=> Started your app.

 

=> App running at: http://localhost:3000/

   Type Control-C twice to stop.


신간 소식 구독하기
뉴스레터에 가입하시고 이메일로 신간 소식을 받아 보세요.