From d36a88638e6ecdb6eabe974e1b28054c7e21537a Mon Sep 17 00:00:00 2001 From: Bofh Date: Tue, 9 Feb 2021 23:02:36 +0100 Subject: [PATCH] readme configuration setup --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index ae2234d..a96a660 100644 --- a/README.md +++ b/README.md @@ -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.