mirror of
https://gitlab.com/cief-data/data-management.git
synced 2026-08-19 04:13:57 +00:00
update README
This commit is contained in:
@@ -10,6 +10,29 @@
|
||||
|
||||
### How To Run CMD:
|
||||
###### pip3 install -r requirements.txt
|
||||
###### Create "EXCHANGE_CONFIG.json" & "EXCHANGE_EXTRACT_SQL.json" in the config file and input the config value
|
||||
###### Example:- EXCHANGE_CONFIG.json
|
||||
```
|
||||
{
|
||||
"host" : "127.0.0.1",
|
||||
"user" : "admin",
|
||||
"password" : "admin",
|
||||
"database" : "classicmodels"
|
||||
}
|
||||
```
|
||||
###### Example:- EXCHANGE_EXTRACT_SQL.json
|
||||
```
|
||||
{
|
||||
"customers" : "SELECT * FROM customers;",
|
||||
"employees" : "SELECT * FROM employees;",
|
||||
"offices" : "SELECT * FROM offices;",
|
||||
"orderdetails" : "SELECT * FROM orderdetails;",
|
||||
"orders" : "SELECT * FROM orders;",
|
||||
"payments" : "SELECT * FROM payments;",
|
||||
"productlines" : "SELECT * FROM productlines;",
|
||||
"products" : "SELECT * FROM products;"
|
||||
}
|
||||
```
|
||||
###### python3 main.py
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user