From 2db5572f672b75c67319c022b88a7b012ba12fab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=B1=E7=A8=8B=E7=82=80?= Date: Sun, 13 Jun 2021 21:42:18 +0800 Subject: [PATCH 1/2] update README.md. --- README.md | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 951dde4..027e38f 100644 --- a/README.md +++ b/README.md @@ -25,20 +25,8 @@ ``` pip install -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn pymysql ``` - 5. MySQL一系列操作 + 5. MySQL初始化,详见`sql.sql` + 6. 启动程序 ``` - mysql> create user 'zvms'@'127.0.0.1' identified by '123456'; - mysql> grant all on *.* to 'zvms'@'127.0.0.1'; - mysql> ^Z - D:\MySQL\bin> mysql -h 127.0.0.1 -u zvms -p - Enter password: ****** - mysql> create database zvms; - ``` - 6. 启动初始化程序 - ``` - python init.py - ``` - 7. 启动程序 - ``` - python bin\main.py + python main.py ``` \ No newline at end of file -- Gitee From 9ecdfea410e6f006f6e404e426c4565d9ab7ecbc Mon Sep 17 00:00:00 2001 From: Zecyel Date: Sat, 31 Jul 2021 11:37:18 +0800 Subject: [PATCH 2/2] revise README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 027e38f..7d35426 100644 --- a/README.md +++ b/README.md @@ -6,10 +6,16 @@ ----- - 1. 启用virtualenv开发环境(Windows) + 1. 启用virtualenv开发环境 ``` + Windows: + py -3 -m venv venv venv\Scripts\activate + + Linux: + + source venv/bin/activate ``` 2. 安装Flask ``` -- Gitee