@@ -8,9 +8,10 @@ Basic Auth checks against GitHub API. This little piece of software is brought t
88
99** TOC**
1010 * [ 1. Introduction] ( #1-introduction )
11- * [ 2. Installation] ( #2-installation )
12- * [ 3. Roadmap] ( #3-roadmap )
13- * [ 4. License] ( #4-license )
11+ * [ 2. Installation on Heroku] ( #2-installation-on-heroku )
12+ * [ 3. Installation on AWS] ( #3-installation-on-aws )
13+ * [ 4. Roadmap] ( #4-roadmap )
14+ * [ 5. License] ( #5-license )
1415
1516## 1. Introduction
1617
@@ -81,6 +82,7 @@ Now change the `Procfile` to your repository and obfuscator settings and push.
8182
8283```
8384$> cd ~/heroku-gh-proxy
85+ vim Procfile # change your settings
8486git add . -A
8587git commit -m "init"
8688git push
@@ -90,11 +92,12 @@ Now your app should be up and running.
9092
9193 * You can access the health check ` https://protected-foo-21086.herokuapp.com/health `
9294 * Or directly use the proxy and enter credentials ` https://protected-foo-21086.herokuapp.com/ `
95+ * An successfully deployed app log should look like this:
96+ * ![ ] ( ./doc/heroku-log.png )
9397
9498
9599
96-
97- ## 2. Installation (Manual)
100+ ## 3. Installation on AWS
98101
99102We will do demo setup for the following scenario:
100103
@@ -106,13 +109,13 @@ We will do demo setup for the following scenario:
106109 * https://my-secure-github-page.comsysto.com/
107110 * This is a ` ec2.micro ` Instance on AWS which is configured as described below.
108111
109- ### 2 .1 Prerequisites
112+ ### 3 .1 Prerequisites
110113
111114 * You will need nginx, python 3 and git.
112115 * on Ubuntu: ` apt-get install git nginx python3-setuptools build-essential python3-dev `
113116 * optional a ssl certificate
114117
115- ### 2 .2 nginx setup
118+ ### 3 .2 nginx setup
116119
117120We need some kind of vhost with SSL that proxies everything through to our python proxy.
118121
@@ -135,7 +138,7 @@ server {
135138}
136139```
137140
138- ### 2 .3 python proxy setup
141+ ### 3 .3 python proxy setup
139142
140143Install proxy
141144```
@@ -166,7 +169,7 @@ $> cs-gh-proxy -e wsgi -p 8881 --authType allGitHubUsers --owner comsysto --repo
166169 * Now you can write some scripts to check for pidfile or port
167170 * lockfile ensures that there will only be a single instance
168171
169- # 3 . Roadmap
172+ # 4 . Roadmap
170173
171174 * Provide oAuth instead of Basic Auth
172175 * Enable CORS
@@ -177,6 +180,6 @@ $> cs-gh-proxy -e wsgi -p 8881 --authType allGitHubUsers --owner comsysto --repo
177180 * Provide Heroku easy install
178181
179182
180- # 4 . License
183+ # 5 . License
181184
182185Licensed under [ MIT License] ( ./LICENSE.md )
0 commit comments