Update README.md
This commit is contained in:
parent
10bda4e3b4
commit
4c822f44f5
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ mysql -e "CREATE USER 'weather'@'localhost' IDENTIFIED BY 'password'"
|
||||||
mysql -e "GRANT ALL PRIVILEGES ON weather.* TO 'weather'@'localhost'"
|
mysql -e "GRANT ALL PRIVILEGES ON weather.* TO 'weather'@'localhost'"
|
||||||
mysql weather < /opt/weather/weather.sql
|
mysql weather < /opt/weather/weather.sql
|
||||||
````
|
````
|
||||||
|
Install requirements:
|
||||||
|
````
|
||||||
|
sudo -u weather pip3 install -r /opt/weather/requirements.txt
|
||||||
|
````
|
||||||
Configure and run:
|
Configure and run:
|
||||||
````
|
````
|
||||||
vim /opt/weather/weather.ini
|
vim /opt/weather/weather.ini
|
||||||
|
|
Loading…
Add table
Reference in a new issue