Skip to content
This repository was archived by the owner on Sep 22, 2020. It is now read-only.

Commit 8401549

Browse files
readme
1 parent e945da9 commit 8401549

1 file changed

Lines changed: 11 additions & 8 deletions

File tree

README.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ A simple python based proxy to secure github pages via a small cloud-proxy-insta
1212
* If you have a private organization github repository.
1313
* If you have a `gh-pages` branch in that repository.
1414
* And if you want to secure the gh-pages page via basic auth, then this proxy is for you.
15-
** Only members of the GitHub organization and users you specify manually will have access
15+
* Only members of the GitHub organization and users you specify manually will have access
1616

1717
### 1.2 What it will do
1818

@@ -41,8 +41,9 @@ We will do demo setup for the following scenario:
4141

4242
### 2.1 Prerequisites
4343

44-
* You will need nginx and python 3.
45-
* optional a ssl certificate
44+
* You will need nginx, python 3 and git.
45+
* on Ubuntu: `apt-get install git nginx python3-setuptools`
46+
* optional a ssl certificate
4647

4748
### 2.2 nginx setup
4849

@@ -69,14 +70,16 @@ server {
6970

7071
### 2.3 python proxy setup
7172

72-
The python proxy runs as WSGI standalone process on port 8881.
73-
73+
Install proxy
7474
```
7575
git clone https://github.com/comsysto/github-pages-basic-auth-proxy.git
7676
cd github-pages-basic-auth-proxy
7777
sudo python3 setup.py install
7878
```
79-
run
79+
80+
run in background on Port 8881
81+
8082
```
81-
cs-gh-proxy -e wsgi -u csgruenebe -gh https://comsysto.github.io/github-pages-basic-auth-proxy/086e41eb6ff7a50ad33ad742dbaa2e70b75740c4950fd5bbbdc71981e6fe88e3/
82-
```
83+
cs-gh-proxy -e wsgi -u csgruenebe -gh https://comsysto.github.io/github-pages-basic-auth-proxy/086e41eb6ff7a50ad33ad742dbaa2e70b75740c4950fd5bbbdc71981e6fe88e3/ &
84+
```
85+

0 commit comments

Comments
 (0)