Skip to content

wangxingzhe/angular2-meteor-ionic2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

angular2-meteor-ionic2-platform

construct a platform by meteor angular2 ionic2

install

  1. install meteor: curl https://install.meteor.com/ | sh
  2. install npm packages: meteor npm install
  3. install typings: meteor npm install -g typings
  4. install ts packages: meteor typings install
  5. install other files: meteor npm run prepare
  6. start server: meteor
  7. open in browser: Mac localhost:3000
  8. install in mobile device: meteor run ios-device&meteor run android-device

mirror

  1. npm taobao: npm config set registry http://registry.npm.taobao.org

安装项目所需包

  1. 安装meteor: curl https://install.meteor.com/ | sh
  2. 安装npm包: meteor npm install
  3. 安装typings: meteor npm install -g typings
  4. 安装ts包: meteor typings install
  5. 安装其它文件(icons、字体文件等): meteor npm run prepare
  6. 运行应用: meteor
  7. 浏览器打开: Mac localhost:3000
  8. 在移动设备上运行: meteor run ios-device&meteor run android-device

npm设置淘宝镜像

  1. npm config set registry http://registry.npm.taobao.org