readme configuration setup

This commit is contained in:
Bofh 2021-02-09 23:02:36 +01:00
parent de5715824f
commit d36a88638e
1 changed files with 14 additions and 0 deletions

View File

@ -36,6 +36,9 @@ Always make sure you mirror accounts whos **content is not strictly copyrighted
# Installation
### Patch some files
As i said on the Pre-requisites, you will need to **patch the following files on Pixelfed** running code:
@ -69,3 +72,14 @@ Add `return 99999999;` after the line where it checks if the user is authenticat
}
```
### Setup the environment
1. Clone the project somewhere `git clone https://git.nogafam.es/nogafam/ig-pixelfed-mirror.git`
2. Create needed directories for the environment
```bash
cd ig-pixelfed-mirror/
mkdir cache db headers
```
3. Copy `config.json.example` to `config.json` and configure to your needs. Make sure you **remove the comments from the file** because Python doesn't like them.