mirror of
https://github.com/stevejenkins/pihole-cloudsync.git
synced 2024-08-30 18:22:11 +00:00
Updating README
This commit is contained in:
parent
1da2658fe6
commit
b6592719db
@ -25,8 +25,8 @@ Prior to running `pihole-cloudsync`, you must first create a new dedicated Git r
|
||||
1. Sign into GitHub.
|
||||
2. Go to https://github.com/stevejenkins/my-pihole-lists.
|
||||
3. Press **Fork**.
|
||||
4. Optional: If you wish to make your forked version of the repo private, press **Settings**, scroll down to the **Danger Zone**, then press **Make private**.
|
||||
4. On your new repo's main page, press the **Clone or download** button and copy the **Clone with HTTPS** link to your clipboard.
|
||||
4. *Optional:* If you wish to make your forked version of the repo private, press **Settings**, scroll down to the **Danger Zone**, then press **Make private**.
|
||||
5. On your new repo's main page, press the **Clone or download** button and copy the **Clone with HTTPS** link to your clipboard.
|
||||
|
||||
**On your Primary Pi-hole device**
|
||||
1. Install Git (on Raspbian/Debian do `sudo apt-get install git`).
|
||||
@ -43,9 +43,8 @@ Prior to running `pihole-cloudsync`, you must first create a new dedicated Git r
|
||||
3. Install `pihole-cloudsync` with `sudo git clone https://github.com/stevejenkins/pihole-cloudsync.git`
|
||||
4. Create your private local Git repo with `sudo git clone https://github.com/<yourusername>/my-pihole-lists.git` (paste the URL you copied from GitHub)
|
||||
5. If you're using a repo name other than `my-pihole-lists`, edit `/usr/local/bin/pihole-cloudsync` and edit the `personal_git_dir` variable to match your local Git repo location.
|
||||
6. Run `/usr/local/bin/pihole-cloudsync --initpull` to initialize the local Pi-hole in Pull/Download mode. You will have to manually enter your GitHub email address and password the first time you do this, but read below for how to save your login credentials so you can run this script unattended.
|
||||
7. The `--initpull` option will also perform your first pull automatically and only needs to be run once on each Secondary Pi-hole. All future pulls can be performed with `/usr/local/bin/pihole-cloudsync --pull` which will pull/download your Primary Pi-hole's lists from your remote Git repo to your Secondary Pi-hole's local Git repo.
|
||||
8. The `--pull` option will automatically copy the downloaded file(s) to your Pi-hole directory and tell Pi-hole to do a `pihole -g` command to update its lists.
|
||||
6. Run `/usr/local/bin/pihole-cloudsync --initpull` to initialize the local Pi-hole in Pull/Download mode. You will have to manually enter your GitHub email address and password the first time you do this, but read below for how to save your login credentials so you can run this script unattended. The `--initpull` option will also perform your first pull automatically and only needs to be run once on each Secondary Pi-hole. All future pulls can be performed with `/usr/local/bin/pihole-cloudsync --pull`.
|
||||
7. Running `pihole-cloudsync --pull` will pull/download your Primary Pi-hole's lists from your remote Git repo to your Secondary Pi-hole's local Git repo. The `--pull` option will automatically copy the downloaded file(s) to your Pi-hole directory and tell Pi-hole to do a `pihole -g` command to update its lists.
|
||||
|
||||
# Running pihole-cloudsync Unattended
|
||||
**The following steps must be performed on each Pi-hole you wish to use with `pihole-cloudsync`.**
|
||||
|
Loading…
Reference in New Issue
Block a user