updated README

pull/64/head
13621160019@163.com 2021-08-28 13:32:38 +08:00
parent 7725cf2962
commit 3c95f47415
4 changed files with 403 additions and 396 deletions

4
admin/README.md vendored
View File

@ -71,7 +71,7 @@ sudo nano /var/www/html/admin/app/api.js
## NOTE:
The 'upload' folder is for user uploaded files. DO NOT delete/move/overwrite the 'upload' folder when you upgraded myems-admin.
```
```bash
/var/www/html/admin/upload
```
@ -93,7 +93,7 @@ Listen 8001
sudo vi /etc/apache2/sites-available/000-default.conf
```
Add a new 'VirtualHost' as below
```
```xml
<VirtualHost 127.0.0.1:8001>
ServerAdmin MyEMS-admin
DocumentRoot /var/www/admin

View File

@ -33,7 +33,7 @@ mysql -u root -p < demo/myems_system_db.sql
```bash
sudo nano /etc/mysql/my.cnf
```
```
```bash
[client]
default-character-set = utf8mb4
[mysql]

File diff suppressed because it is too large Load Diff

View File

@ -62,6 +62,7 @@ myems_reporting_db = {
}
# address for Cookie domain
# use the actual domain or IP address of Web UI and Admin UI
myems_api_domain = '127.0.0.1'
# indicated in how many minutes to calculate meter energy consumption