Skip to content

Commit

Permalink
Adjust documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
0x46616c6b committed Oct 6, 2023
1 parent 39d862f commit 2eb9f2c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
4 changes: 2 additions & 2 deletions docs/assets/ticker-api.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
16 changes: 9 additions & 7 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 [email protected]:systemli/ticker.git
```

```shell
git clone [email protected]: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!

Expand Down

0 comments on commit 2eb9f2c

Please sign in to comment.