fixed issues of markdown in README files
parent
7766723f60
commit
bbbc93acda
|
@ -272,11 +272,11 @@ docker-compose up -d
|
|||
|
||||
## MyEMS镜像
|
||||
|
||||
[1]. [http://github.com/MyEMS/myems](http://github.com/MyEMS/myems)
|
||||
[1]. [https://github.com/MyEMS/myems](https://github.com/MyEMS/myems)
|
||||
|
||||
[2]. [http://gitee.com/myems/myems](http://gitee.com/myems/myems)
|
||||
[2]. [https://gitee.com/myems/myems](https://gitee.com/myems/myems)
|
||||
|
||||
[3]. [http://bitbucket.org/myems/myems](http://bitbucket.org/myems/myems)
|
||||
[3]. [https://bitbucket.org/myems/myems](https://bitbucket.org/myems/myems)
|
||||
|
||||
[4]. [https://gitlab.com/myems/myems](https://gitlab.com/myems/myems)
|
||||
|
||||
|
|
|
@ -274,11 +274,11 @@ docker-compose up -d
|
|||
|
||||
## MyEMS Spiegel
|
||||
|
||||
[1]. [http://github.com/MyEMS/myems](http://github.com/MyEMS/myems)
|
||||
[1]. [https://github.com/MyEMS/myems](https://github.com/MyEMS/myems)
|
||||
|
||||
[2]. [http://gitee.com/myems/myems](http://gitee.com/myems/myems)
|
||||
[2]. [https://gitee.com/myems/myems](https://gitee.com/myems/myems)
|
||||
|
||||
[3]. [http://bitbucket.org/myems/myems](http://bitbucket.org/myems/myems)
|
||||
[3]. [https://bitbucket.org/myems/myems](https://bitbucket.org/myems/myems)
|
||||
|
||||
[4]. [https://gitlab.com/myems/myems](https://gitlab.com/myems/myems)
|
||||
|
||||
|
|
|
@ -274,11 +274,11 @@ docker-compose up -d
|
|||
|
||||
## MyEMS Mirrors
|
||||
|
||||
[1]. [http://github.com/MyEMS/myems](http://github.com/MyEMS/myems)
|
||||
[1]. [https://github.com/MyEMS/myems](https://github.com/MyEMS/myems)
|
||||
|
||||
[2]. [http://gitee.com/myems/myems](http://gitee.com/myems/myems)
|
||||
[2]. [https://gitee.com/myems/myems](https://gitee.com/myems/myems)
|
||||
|
||||
[3]. [http://bitbucket.org/myems/myems](http://bitbucket.org/myems/myems)
|
||||
[3]. [https://bitbucket.org/myems/myems](https://bitbucket.org/myems/myems)
|
||||
|
||||
[4]. [https://gitlab.com/myems/myems](https://gitlab.com/myems/myems)
|
||||
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
Providing database schema and scripts for MyEMS.
|
||||
|
||||
|
||||
### Prerequisites
|
||||
[MySQL 8.0 or later](https://www.mysql.com/)
|
||||
|
||||
|
@ -12,7 +11,6 @@ Providing database schema and scripts for MyEMS.
|
|||
|
||||
or [SingleStore 7.0 or later](https://www.singlestore.com/) (highly recommended)
|
||||
|
||||
|
||||
### Installation
|
||||
|
||||
Execute the following scripts in MySQL commandline, or execute in other MySQL client tools such as MySQL Workbench, Navicat, DBaver, phpMyAdmin, etc.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
## macOS(v11.2.1)
|
||||
|
||||
#### 1.Python
|
||||
### 1.Python
|
||||
|
||||
MyEMS要求Python版本在3.5+,这里用brew来安装最新别的`Python3.9`版本,不过要先安装`Xcode Command Line Tools`,否则安装python会报错。
|
||||
```bash
|
||||
|
@ -21,7 +21,7 @@ $echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebre
|
|||
$source ~/.zshrc
|
||||
```
|
||||
|
||||
#### 2.MySQL
|
||||
### 2.MySQL
|
||||
|
||||
MyEMS默认使用MySQL8.0,也是采用brew来安装
|
||||
```shell
|
||||
|
@ -82,7 +82,7 @@ mysql> show databases; // 查看数据库是否导入OK
|
|||
13 rows in set (0.02 sec)
|
||||
```
|
||||
|
||||
#### 3.部署mymes-api服务
|
||||
### 3.部署mymes-api服务
|
||||
安装一堆python依赖库
|
||||
```shell
|
||||
# 安装anytree
|
||||
|
@ -133,7 +133,7 @@ export PATH="/usr/local/Cellar/python@3.9/3.9.1_8/Frameworks/Python.framework/Ve
|
|||
$ source ~/.zshrc
|
||||
```
|
||||
|
||||
#### 4.运行myems-api服务
|
||||
### 4.运行myems-api服务
|
||||
```shell
|
||||
$ git clone https://github.com/kuuyee/myems-api.git
|
||||
$ cd myems-api
|
||||
|
@ -146,7 +146,7 @@ $ gunicorn -b 127.0.0.1:8000 app:api
|
|||
//启动成功
|
||||
```
|
||||
|
||||
#### 5.验证myems-api服务
|
||||
### 5.验证myems-api服务
|
||||
|
||||
打开浏览器访问[http://localhost:8000/version](http://localhost:8000/version)
|
||||
如果看到如下输出就表示服务启动正常。
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
## MyEMS Normalization Service 数据规范化服务
|
||||
|
||||
|
||||
|
||||
### Introduction
|
||||
|
||||
This service is a component of MyEMS and it normalizes energy data in historical database.
|
||||
|
||||

|
||||
|
||||
|
||||
### Prerequisites
|
||||
|
||||
mysql.connector
|
||||
|
@ -17,7 +14,6 @@ sympy
|
|||
|
||||
openpyxl
|
||||
|
||||
|
||||
### Installation
|
||||
|
||||
Download and install MySQL Connector:
|
||||
|
|
|
@ -9,7 +9,6 @@ Node.js
|
|||
|
||||
nginx-1.18.0 or later
|
||||
|
||||
|
||||
## Running in Local environment
|
||||
This project is scaffolded using Create React App.
|
||||
|
||||
|
@ -44,6 +43,7 @@ npx -v
|
|||
|
||||
* Open the “myems/web” directory with your cmd or terminal
|
||||
* Run 'sudo npm i --unsafe-perm=true --allow-root'
|
||||
|
||||
This command will download all the necessary dependencies for falcon in the node_modules directory.
|
||||
* If you modified any scss files, then you need to compile SCSS
|
||||
Run 'sudo npm run scss' command in your project directory to compile scss.
|
||||
|
|
Loading…
Reference in New Issue