您的位置:首页 > 博客中心 > 数据库 >

【我的笔记BLOG1】配置webstorm + node.js +express + mongodb开发博客的环境

时间:2022-03-14 03:49

1. 安装webstorm 并破解

2. 安装node (以及express框架)

  • 至官网下载并安装。(http://nodejs.org)v0.10.32   msi
 安装后测试,打开命令行,   node >console.log("hello") 输出 hello         undefined
  • 安装node.js 包管理器(Express)
ctrl+d, 回到初始窗口,输入  npm install -g express-gengerator , 全局模式下安装express gxlsystem.com,布布扣
  • 新建blog文件夹
      切换到目标文件夹,express -e blog                                 cd blog & npm install   gxlsystem.com,布布扣 3. 对webstorm配置nodejs   配置Node interpreter 和 Sources of Node.js Core Modules   gxlsystem.com,布布扣     4. 安装mongodb
  • 至官网下载  下载对应版本
  • 将下载的文件解压为mongodb, 新建一个blogdata文件夹,存储日志数据
                     

热门排行

今日推荐

热门手游