Update README.md
This commit is contained in:
parent
56bd2af9cd
commit
0fd8d18162
32
README.md
32
README.md
@ -1,23 +1,10 @@
|
|||||||
# Howto start the MYSQL version
|
# Howto start the MYSQL version
|
||||||
## MySQL commands to create a user
|
|
||||||
1. CREATE USER 'FUfB6cwSsGDbQpmA7Qs8zQJxU3HpwCdnjT'@'localhost' IDENTIFIED BY 'RAcifrTM2V75ipy5MeLYaDU3UNcUXtrit933TGM5o7Yj2fs8XdP5';
|
|
||||||
2. GRANT ALL PRIVILEGES ON `rm_%_db`.* TO 'FUfB6cwSsGDbQpmA7Qs8zQJxU3HpwCdnjT'@'localhost' WITH GRANT OPTION;
|
|
||||||
|
|
||||||
## Modify config.ini
|
|
||||||
```
|
|
||||||
[MYSQL]
|
|
||||||
USERNAME = FUfB6cwSsGDbQpmA7Qs8zQJxU3HpwCdnjT
|
|
||||||
PASSWORD = RAcifrTM2V75ipy5MeLYaDU3UNcUXtrit933TGM5o7Yj2fs8XdP5
|
|
||||||
HOST = localhost
|
|
||||||
DATABASE_PREFIX = rm
|
|
||||||
```
|
|
||||||
## Setup setps
|
## Setup setps
|
||||||
|
|
||||||
1. Setup the Python Virtual Environment first with atleast python3.7 at least. Look below for exact instructions
|
1. Run setup.sh to install python3.7 virtual environment, install and configure MySQL if it does not exist, install all dependencies and then start the application.
|
||||||
2. Install setup.sh to install all dependencies. Give it execute permissions first `chmod +x setup.sh`, and then `./setup.sh`
|
2. Give setup.sh execute permissions first `chmod +x setup.sh`, and then `./setup.sh`
|
||||||
3. Install MYSQL and create MySQL user and password
|
|
||||||
4. Add all the data in confg.ini
|
|
||||||
5. Then run the command as per one of the options below
|
|
||||||
|
|
||||||
## How to run
|
## How to run
|
||||||
1. python3.7 tracktokens-smartcontracts.py
|
1. python3.7 tracktokens-smartcontracts.py
|
||||||
@ -168,3 +155,16 @@ bash
|
|||||||
|
|
||||||
deactivate
|
deactivate
|
||||||
|
|
||||||
|
## MySQL commands to create a user
|
||||||
|
1. CREATE USER 'FUfB6cwSsGDbQpmA7Qs8zQJxU3HpwCdnjT'@'localhost' IDENTIFIED BY 'RAcifrTM2V75ipy5MeLYaDU3UNcUXtrit933TGM5o7Yj2fs8XdP5';
|
||||||
|
2. GRANT ALL PRIVILEGES ON `rm_%_db`.* TO 'FUfB6cwSsGDbQpmA7Qs8zQJxU3HpwCdnjT'@'localhost' WITH GRANT OPTION;
|
||||||
|
|
||||||
|
## Modify config.ini
|
||||||
|
```
|
||||||
|
[MYSQL]
|
||||||
|
USERNAME = FUfB6cwSsGDbQpmA7Qs8zQJxU3HpwCdnjT
|
||||||
|
PASSWORD = RAcifrTM2V75ipy5MeLYaDU3UNcUXtrit933TGM5o7Yj2fs8XdP5
|
||||||
|
HOST = localhost
|
||||||
|
DATABASE_PREFIX = rm
|
||||||
|
```
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user