Commit 660f578f authored by Bryan Tarpley's avatar Bryan Tarpley
Browse files

Update README.md

parent 62469302
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -45,7 +45,7 @@ In order to be able to deploy CWRC-GitDocker, you must:
4. Next, you will need to create a GitHub OAuth App (you may follow these [instructions](https://developer.github.com/apps/building-oauth-apps/creating-an-oauth-app/)). When specifying the `Homepage URL`, use `http://yourcomputer.com:8200`, but be sure to replace "yourcomputer.com" with the IP address or hostname for your computer/server, and if you changed the default port from 8200, replace that with whatever you changed it to. When specifying the `Authorization callback URL`, use `http://yourcomputer.com:8200/github/callback`, while also performing the same replacements as needed. Once you have completed setting up the GitHub OAuth App, make note of the `Client ID` and the `Client Secret`.
5. Open config.js using a text editor and replace "putYourClientIdHere" with the `Client ID` you obtained from step 4, and replace "putYourClientSecretHere" with the `Client Secret` you also obtained from step 4. Finally, assuming that the hostname of your computer/server is "yourcomputer.com" and you're using the default port of 8200, find "http://server/github/callback" and replace "server" with yourcomputer.com:8200, so that it now reads like "http://yourcomputer.com:8200/github/callback". Save the file.
5. Open config.js using a text editor and replace "putYourClientIdHere" with the `Client ID` you obtained from step 4, and replace "putYourClientSecretHere" with the `Client Secret` you also obtained from step 4. Finally, assuming that the hostname of your computer/server is "yourcomputer.com" and you're using the default port of 8200, find "http://server/github/callback" and replace "server" with yourcomputer.com:8200, so that it now reads like "http://yourcomputer.com:8200/github/callback". Finally, replace "someSecret" with a randomly generated string of characters, like "asdfsdf88yfdsfa6fd". Save the file.
6. Optionally, you may open nginx.conf and change "myhost.edu" to the IP address or hostname of your computer/server, though this isn't strictly necessary.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment