- Meteor Framework 를 이용하여 App 개발시 Webstrom 에서 외부 MongoDB 와 연결하는 방법
- Webstorm 에서 Meteor 의 MongoDB 환경 설정하기
- 설정 순서 및 방법
- Webstorm -> Menu -> Run/Debug Configurations 클릭
- Run/Debug Configurations 창의 왼쪽에서 Defaults -> Meteor 클릭
- 창의 왼쪽 리스트에 Meteor 가 추가되면
- 오른쪽의 Configuration -> Environment variables -> ... 클릭
- Name / Value 입력
- Name : MONGO_URL
- Value : [MongoDB URL 입력]
- ex. mongodb://mongo.xxx.com:27017/db_name
- 설정 끝
- Environment variables 설정하고 저장한 다음에 실행하면 설정한 Mongo 환경으로 접속함.
'Web App > Meteor' 카테고리의 다른 글
| Meteor | package 관리 시 version 설정하기 (1) | 2016.11.22 |
|---|---|
| Simulation / Latency Compensation (0) | 2016.10.18 |
| Meteor | bundler-cache 로 인한 용량 부족 issue (0) | 2016.08.05 |
| WepApp | Metoer | CodeMirror | Issue | CodeMirror Instance 의 height 가 제대로 calculate 되지 않을 때, ps. height 가 0 일 때 (0) | 2016.06.20 |
| Web App | Meteor | find DOMs 방법들. (0) | 2016.04.25 |