From 2eb9f2ca0e9ea6e9eb5df7d7bead4db03ec5b2de Mon Sep 17 00:00:00 2001 From: louis Date: Fri, 6 Oct 2023 19:49:05 +0200 Subject: [PATCH] Adjust documentation --- docs/assets/ticker-api.service | 4 ++-- docs/index.md | 16 +++++++++------- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/docs/assets/ticker-api.service b/docs/assets/ticker-api.service index 4a819fb0..6983c281 100644 --- a/docs/assets/ticker-api.service +++ b/docs/assets/ticker-api.service @@ -10,8 +10,8 @@ User=ticker # If you build ticker on this machine, include the first "ExecStart" # If you downloaded ticker from github, include the second "ExecStart" # If you put ticker in a different location, you can probably figure out what to change. ;) -#ExecStart=/var/www/ticker/build/ticker -config /var/www/ticker/config.yml -#ExecStart=/var/www/ticker/ticker -config /var/www/ticker/config.yml +#ExecStart=/var/www/ticker/build/ticker run --config /var/www/ticker/config.yml +#ExecStart=/var/www/ticker/ticker run --config /var/www/ticker/config.yml WorkingDirectory=/var/www/ticker [Install] WantedBy=multi-user.target diff --git a/docs/index.md b/docs/index.md index 35ddca63..bb52a2c6 100644 --- a/docs/index.md +++ b/docs/index.md @@ -13,15 +13,17 @@ the [Systemli Ticker Project](https://www.systemli.org/en/service/ticker.html). ## First run - make sure you have pulled the repository -```shell -git clone git@github.com:systemli/ticker.git -``` + + ```shell + git clone git@github.com:systemli/ticker.git + ``` - start the ticker -```shell -cp config.yml.dist config.yml -go run . -``` + + ```shell + cp config.yml.dist config.yml + go run . run + ``` Now you have a running ticker API!