Compare commits

...

4 Commits

Author SHA1 Message Date
Igor Chubin 79771b4b4e
Merge pull request #823 from LucasLarson/spelling
1 year ago
Igor Chubin 4293562c61
Merge pull request #802 from jidicula/patch-2
1 year ago
Lucas Larson ca54ff4d2d
fix spelling (#822)
2 years ago
Johanan Idicula 6755f453a3
docs(README): Clean up code blocks
2 years ago

@ -580,9 +580,9 @@ wttr.in has the following external dependencies:
* [wego](https://github.com/schachmat/wego), weather client for terminal * [wego](https://github.com/schachmat/wego), weather client for terminal
After you install [golang](https://golang.org/doc/install), install `wego`: After you install [golang](https://golang.org/doc/install), install `wego`:
```bash
$ go get -u github.com/schachmat/wego go install github.com/schachmat/wego@latest
$ go install github.com/schachmat/wego ```
### Install Python dependencies ### Install Python dependencies
@ -604,13 +604,15 @@ You can install most of them using `pip`.
Some python package use LLVM, so install it first: Some python package use LLVM, so install it first:
$ apt-get install llvm-7 llvm-7-dev ```bash
apt-get install llvm-7 llvm-7-dev
```
If `virtualenv` is used: If `virtualenv` is used:
```bash
$ virtualenv -p python3 ve virtualenv -p python3 ve
$ ve/bin/pip3 install -r requirements.txt ve/bin/pip3 install -r requirements.txt
$ ve/bin/python3 bin/srv.py ve/bin/python3 bin/srv.py
```
Also, you need to install the geoip2 database. Also, you need to install the geoip2 database.
You can use a free database GeoLite2 that can be downloaded from (http://dev.maxmind.com/geoip/geoip2/geolite2/). You can use a free database GeoLite2 that can be downloaded from (http://dev.maxmind.com/geoip/geoip2/geolite2/).

@ -30,7 +30,7 @@ DESCRIPTION = {
"Temperature in Fahrenheit", "Temperature in Fahrenheit",
"temperature_fahrenheit"), "temperature_fahrenheit"),
"uvIndex": ( "uvIndex": (
"Ultaviolet Radiation Index", "Ultraviolet Radiation Index",
"uv_index"), "uv_index"),
"visibility": ( "visibility": (
"Visible Distance in Kilometres", "Visible Distance in Kilometres",
@ -91,15 +91,15 @@ DESCRIPTION = {
# astronomy fields with time # astronomy fields with time
"moonrise": ( "moonrise": (
"Minutes since start of the day untill the moon appears above the horizon", "Minutes since start of the day until the moon appears above the horizon",
"astronomy_moonrise_min"), "astronomy_moonrise_min"),
"moonset": ( "moonset": (
"Minutes since start of the day untill the moon disappears below the horizon", "Minutes since start of the day until the moon disappears below the horizon",
"astronomy_moonset_min"), "astronomy_moonset_min"),
"sunrise": ( "sunrise": (
"Minutes since start of the day untill the sun appears above the horizon", "Minutes since start of the day until the sun appears above the horizon",
"astronomy_sunrise_min"), "astronomy_sunrise_min"),
"sunset": ( "sunset": (
"Minutes since start of the day untill the moon disappears below the horizon", "Minutes since start of the day until the moon disappears below the horizon",
"astronomy_sunset_min"), "astronomy_sunset_min"),
} }

Loading…
Cancel
Save