Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sybrex/logbook-bot
https://github.com/sybrex/logbook-bot
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/sybrex/logbook-bot
- Owner: sybrex
- License: gpl-3.0
- Created: 2020-02-21T14:33:36.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:31:00.000Z (about 2 years ago)
- Last Synced: 2023-03-03T19:27:19.881Z (almost 2 years ago)
- Language: Python
- Size: 115 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Logbook Telegram Bot
====================Setup
-----
Install deps with pipenvClone env.ini.dist into env.ini
Fabric deployment
-----------------
```
# get list of commands and help
pipenv run fab --list
pipenv run fab --help deploy# deploy
pipenv run fab deploy --hosts
```Systemd
-------
/etc/systemd/system/logbook.service
```
[Unit]
Description=Logbook Bot
After=network.target[Service]
User=deployer
Group=nginx
WorkingDirectory=/srv/www/logbook-bot
ExecStart=/usr/local/bin/pipenv run python bot.py
```