Skip to content

Commit 3097d6e

Browse files
sebkuipraidensakura
authored andcommitted
Added info on how to clone a private repo
1 parent 61e2f05 commit 3097d6e

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

installation/local-hosting-vps/patreon_logviewer.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,30 @@ Finally, click save.
2020

2121
* You must have git installed on your system. If you do not, run `sudo apt install git` to install it.
2222

23+
Due to the logviewer premium repo being private, you will first need to set up a personal access token to clone the repo. To do this, follow the steps below.
24+
25+
* Open github in your browser
26+
* When logged in, click your name in the top right and go to 'settings'
27+
* On the left, click 'Developer settings'
28+
* On the left, click 'Personal access tokens' and then 'Tokens (classic)'
29+
* Click 'Generate new token'
30+
* Give the token a name and select the 'repo' scope
31+
* Copy the token and save it somewhere safe
32+
33+
<figure><img src="https://i.imgur.com/rpDGDaJ.png" alt=""></figure>
34+
<figure><img src="https://i.imgur.com/6lHiDM6.png" alt=""></figure>
35+
<figure><img src="https://i.imgur.com/BIVl3E5.png" alt=""></figure>
36+
<figure><img src="https://i.imgur.com/DVZysE6.png" alt=""></figure>
37+
<figure><img src="https://i.imgur.com/xZd2m4R.png" alt=""></figure>
38+
2339
You can download the logviewer files by running the following command:
2440

2541
```bash
2642
git clone https://github.com/modmail-dev/logviewer-premium logviewer
2743
```
28-
<figure><img src="https://i.imgur.com/8um24fa.png" alt=""></figure>
44+
45+
You will be prompted for your username and password. Enter your github username and the personal access token you just created.
46+
<figure><img src="https://i.imgur.com/qe0wWIg.png" alt=""></figure>
2947
Once done, you can use `cd logviewer` to enter the directory.
3048

3149
## Installing the dependencies

0 commit comments

Comments
 (0)