Update README.md

This commit is contained in:
Mikael Nordin 2020-05-23 14:00:18 +02:00 committed by GitHub
parent b8ecafcf5b
commit 00ad94fbe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,6 +5,8 @@ Needs a mysql database:
````
mysql -e "CREATE DATABASE weather"
mysql -e "CREATE USER 'weather'@'localhost' IDENTIFIED BY 'password'"
mysql -e "GRANT ALL PRIVILEGES ON weather.* TO 'weather'@'localhost'"
mysql weather < weather.sql
vim weather.ini
./getweather.py