Skip to content

Commit

Permalink
docs: how To Start MySQL
Browse files Browse the repository at this point in the history
  • Loading branch information
nusr committed Sep 5, 2019
1 parent bf6b409 commit b1c0097
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ before_script:

script:
- npm run lint
- npm run test -- -u
- npm run test

after_script:
- codecov
Expand Down
1 change: 1 addition & 0 deletions build/webpack.base.confg.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const MiniCssExtractPlugin = require('mini-css-extract-plugin');
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin;
const ProgressBarPlugin = require('progress-bar-webpack-plugin')
// 注入 .env 环境变量
const isProd = process.env.NODE_ENV === 'production';
let envConfig;
try {
Expand Down
12 changes: 10 additions & 2 deletions docs/joinUs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,17 @@

参见 [../server/routes/u17/index.ts](../server/routes/u17/index.ts) ,或者搜索整个项目 **puppeteer**

## 数据库表结构
## 数据库使用

[comic.sql](comic.sql)

1.[https://dev.mysql.com/downloads/mysql/](https://dev.mysql.com/downloads/mysql/)下载应用,安装 MySQL
2. 启动本地 MySQL,使用默认端口即可
3. 建立数据库 **comic**
4. 导入数据库表到数据库 **comic**

> 如何导入数据库,查看[https://www.runoob.com/mysql/mysql-database-import.html](https://www.runoob.com/mysql/mysql-database-import.html)
数据库表结构见 [comic.sql](comic.sql)

字段说明参见 [../server/type/index.ts](../server/types/index.ts)

Expand Down

0 comments on commit b1c0097

Please sign in to comment.