An open API service indexing awesome lists of open source software.

https://github.com/oskaritimperi/weather

My personal weather station support code
https://github.com/oskaritimperi/weather

Last synced: 8 months ago
JSON representation

My personal weather station support code

Awesome Lists containing this project

README

          

# Usage on kapsi.fi

- Clone the repository to e.g. `/home/users/johndoe/sites/example.com/weather`

- Execute `nim build` to build binaries for updating database and graphs

- Create your databases with `./bin/create_database DATABASE-NAME`

- For example `./bin/create_database porch`

- Install the CGI script with `./bin/install_cgi_kapsi SCRIPT_PATH`

- For example `nim install_cgi_kapsi $HOME/sites/example.com/www/weather/update.cgi`

- Install a cron job for updating graphs `./bin/update_graphs GRAPH_OUTPUT_DIR`

- For example `$HOME/sites/example.com/weather/bin/update_graphs $HOME/sites/example.com/www/weather`