Application created by ThinkJS
NodeJs 开发企业站点
项目安装后,进入项目目录,执行 npm install 安装依赖,也可以使用 taobao 源进行安装。
npm install 或者
npm install --registry=https://registry.npm.taobao.org --verbose
npm start
http://127.0.0.1:8360/
新建数据库 test
导入 /databases 文件夹的数据表
数据库连接配置文件:/app/common/config/db.js
表结构:
think_article : id title content catalogId joinTime
think_catalog : id name
Use pm2 to deploy app on production enviroment.
pm2 startOrReload pm2.json