1
0
Fork 0
mirror of https://github.com/myned/watcher.git synced 2024-12-24 13:07:28 +00:00

Update repo name

This commit is contained in:
Myned 2023-03-17 01:16:20 -05:00
parent 17cdd3e7b9
commit 87047729e5
No known key found for this signature in database
GPG key ID: 28056631D2CF6B1B
2 changed files with 8 additions and 8 deletions

View file

@ -13,11 +13,11 @@ Linux is used for the following commands\
## Installing ## Installing
1. Clone repository 1. Clone repository
``` ```
git clone https://github.com/Myned/Watcher.git git clone https://github.com/Myned/watcher.git
``` ```
2. Go to project folder 2. Go to project folder
``` ```
cd Watcher cd watcher
``` ```
3. Create a virtual environment and install dependencies 3. Create a virtual environment and install dependencies
``` ```
@ -26,7 +26,7 @@ poetry install
## Usage ## Usage
1. Go to project folder 1. Go to project folder
``` ```
cd Watcher cd watcher
``` ```
2. Run with optimizations 2. Run with optimizations
``` ```
@ -56,11 +56,11 @@ duration = 0 # time in seconds before considered inactive
7. Paste generated URL into a browser to invite the bot 7. Paste generated URL into a browser to invite the bot
### systemd service ### systemd service
Run in the background on most Linux machines\ Run in the background on most Linux machines\
This assumes that the project folder is located at `~/.git/Watcher`\ This assumes that the project folder is located at `~/.git/watcher`\
Change the `WorkingDirectory` path in `watcher.service` if this is not the case Change the `WorkingDirectory` path in `watcher.service` if this is not the case
1. Go to project folder 1. Go to project folder
``` ```
cd Watcher cd watcher
``` ```
2. Copy user service file 2. Copy user service file
``` ```
@ -85,7 +85,7 @@ sudo loginctl enable-linger username
## Updating ## Updating
1. Go to project folder 1. Go to project folder
``` ```
cd Watcher cd watcher
``` ```
2. Pull changes from repository 2. Pull changes from repository
``` ```
@ -114,7 +114,7 @@ sudo loginctl disable-linger username
``` ```
4. Remove project folder 4. Remove project folder
``` ```
rm -rf Watcher rm -rf watcher
``` ```
## Contributing ## Contributing
1. [Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) this repository on GitHub 1. [Fork](https://docs.github.com/en/get-started/quickstart/fork-a-repo) this repository on GitHub

View file

@ -4,7 +4,7 @@ Requires=default.target
After=default.target After=default.target
[Service] [Service]
WorkingDirectory=/home/user/.git/Watcher WorkingDirectory=/home/user/.git/watcher
ExecStart=poetry run python -OO run.py >&2 ExecStart=poetry run python -OO run.py >&2
[Install] [Install]