This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Basically just Follow the install instructions in https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md. | |
| If you encounter problems, check this: | |
| 1. If the system complains about pid files in the very last step, change 'restart' to 'start'. | |
| If it doesn't work, use 'sudo ./resque.sh' in Step 6. | |
| 2. I encountered 502 Bad Gateway error. Solution is in https://groups.google.com/forum/?fromgroups#!topic/gitlabhq/u9AMESyd-N0 | |
| Restart the server after the modification. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import re | |
| # Initial request for blackboard | |
| r = requests.get('http://blackboard.andrew.cmu.edu/') | |
| # Authenticaton | |
| payload = { 'j_username' : '<your username>', 'j_password' : '<your password>', 'j_continue' : '1', 'submit' : 'Login' } | |
| r2 = requests.post(r.url, data=payload, cookies=r.cookies) | |
| # Manually proceed with the form | |
| url = 'https://blackboard.andrew.cmu.edu/Shibboleth.sso/SAML2/POST' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Install git | |
| cd $HOME | |
| sudo yum -y update | |
| sudo yum -y install git | |
| # Prepare the public key, which will be used later | |
| cp ~/.ssh/authorized_keys /tmp/Default.pub | |
| chmod a+r /tmp/Default.pub | |
| # Use the user git to install gitolite from source. |