diff options
| author | Oskari Timperi <oskari.timperi@iki.fi> | 2019-11-27 22:28:54 +0200 |
|---|---|---|
| committer | Oskari Timperi <oskari.timperi@iki.fi> | 2019-11-27 22:28:54 +0200 |
| commit | 18684ded17a8e086f17fc0cba75438c7f013c52c (patch) | |
| tree | d082950d0724a8e9c3a28893e52934773b932f22 | |
| parent | 59e47819af464538a52e333911e75c83fb37a7bd (diff) | |
| download | weather-18684ded17a8e086f17fc0cba75438c7f013c52c.tar.gz weather-18684ded17a8e086f17fc0cba75438c7f013c52c.zip | |
| -rw-r--r-- | README.md | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -4,12 +4,14 @@ - Execute `nim build` to build binaries for updating database and graphs -- Create your databases with `nim createdb database/$DATABASE.rrd` +- Create your databases with `./bin/create_database DATABASE-NAME` -- Install the CGI script with `nim install_cgi_kapsi $CGI_SCRIPT_PATH` + - 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 +- 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` |
