mirror of
https://github.com/myned/modufur.git
synced 2024-12-23 22:27:27 +00:00
Update repo name
This commit is contained in:
parent
9ab93a21a9
commit
d3e1573a95
2 changed files with 8 additions and 8 deletions
14
README.md
14
README.md
|
@ -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/Modufur.git
|
git clone https://github.com/Myned/modufur.git
|
||||||
```
|
```
|
||||||
2. Go to project folder
|
2. Go to project folder
|
||||||
```
|
```
|
||||||
cd Modufur
|
cd modufur
|
||||||
```
|
```
|
||||||
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 Modufur
|
cd modufur
|
||||||
```
|
```
|
||||||
2. Run with optimizations
|
2. Run with optimizations
|
||||||
```
|
```
|
||||||
|
@ -46,11 +46,11 @@ e621 = "" # e621 token
|
||||||
```
|
```
|
||||||
### 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/Modufur`\
|
This assumes that the project folder is located at `~/.git/modufur`\
|
||||||
Change the `WorkingDirectory` path in `modufur.service` if this is not the case
|
Change the `WorkingDirectory` path in `modufur.service` if this is not the case
|
||||||
1. Go to project folder
|
1. Go to project folder
|
||||||
```
|
```
|
||||||
cd Modufur
|
cd modufur
|
||||||
```
|
```
|
||||||
2. Copy user service file
|
2. Copy user service file
|
||||||
```
|
```
|
||||||
|
@ -75,7 +75,7 @@ sudo loginctl enable-linger username
|
||||||
## Updating
|
## Updating
|
||||||
1. Go to project folder
|
1. Go to project folder
|
||||||
```
|
```
|
||||||
cd Modufur
|
cd modufur
|
||||||
```
|
```
|
||||||
2. Pull changes from repository
|
2. Pull changes from repository
|
||||||
```
|
```
|
||||||
|
@ -104,7 +104,7 @@ sudo loginctl disable-linger username
|
||||||
```
|
```
|
||||||
4. Remove project folder
|
4. Remove project folder
|
||||||
```
|
```
|
||||||
rm -rf Modufur
|
rm -rf modufur
|
||||||
```
|
```
|
||||||
## 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
|
||||||
|
|
|
@ -4,7 +4,7 @@ Requires=default.target
|
||||||
After=default.target
|
After=default.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/home/user/.git/Modufur
|
WorkingDirectory=/home/user/.git/modufur
|
||||||
ExecStart=poetry run python -OO run.py >&2
|
ExecStart=poetry run python -OO run.py >&2
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Reference in a new issue