Update README.md

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

View file

@ -20,6 +20,10 @@ mysql -e "CREATE USER 'weather'@'localhost' IDENTIFIED BY 'password'"
mysql -e "GRANT ALL PRIVILEGES ON weather.* TO 'weather'@'localhost'"
mysql weather < /opt/weather/weather.sql
````
Install requirements:
````
sudo -u weather pip3 install -r /opt/weather/requirements.txt
````
Configure and run:
````
vim /opt/weather/weather.ini