Meteor 安装orHelloWork win10

来源:互联网 发布:python 量化 开发环境 编辑:程序博客网 时间:2024/06/05 06:24

安装chocolatey
https://chocolatey.org/install

1、cmd 命令行执行

@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

2、安装meteor,需要翻墙。如果翻不了,尝试手机热点,100+M左右。

choco install meteor

3、查看版本

meteor --version

4、创建项目

meteor create myapp

5、进入目录安装npm ,执行meteor

1cd myapp2、meteor npm install3、meteor

6、数据库安装和模块安装

meteor add msavin:mongolmeteor add twbs:bootstrapmeteor add themeteorchef:bertmeteor add sessionmeteor npm install --save jquery@2.1.3meteor npm install --save moment

7、启动 mongo shell

meteor mongo

8、更新

meteor update