https://github.com/sybrex/logbook-bot
https://github.com/sybrex/logbook-bot
Last synced: 4 months 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 (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T09:31:00.000Z (over 2 years ago)
- Last Synced: 2025-01-19T14:23:04.343Z (6 months 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
```