HTTPS clone URL
Subversion checkout URL
18-management-fix add-build-signals add-call-to-theme-js add-gold-projects add-page-suffix-support add-project-container-image add-wipe-button-to-ui admin-icon api-v2-docs auth-cas auto-import backport-style badge-v2 build-command-shebang build-failure-email build-filtering build-indexes build-pdf-ret-val build_stats builder-standards bump-sphinx-ext cache-direct cleanup-oauth-app commenting delete-broken-search-code docker-mkdocs-mount donate-form-arbitrary donate-form-js dont-move-index-to-readme drop-bzr-requirement fix-18-template-context fix-apirestrictedpermission fix-build-output fix-gulpfile-manage-py fix-language-links-on-cname-projects fix-linting fix-mkdocs-page-name-issue fix-projectimport-js fix-reindex-elasticsearch front-end-standardization github_import gold hack-pdf-success hide-edit-github-link-for-invalid-pages highlight-searchterm-in-mkdocs hotfix-confpy-path hotfix-docker-build-bug import-improve-ux improved_search js-theme-bundle lint-project lint-raise-profile maintenance-mode master move-doctrees no-sphinx-build-subprocess privacy-backends privacy-filtering private-repo-resolving programming-language-support project-migration-sync proxy-middleware python3-port rate-limit-builds redirect-keep-version refactor-builder refactor-redirect rel relcorp remove-jsonp remove-manager-public-kwargs remove-user-project-permissions respect-domain-in-middleware revert-1568-haystack_upgrade rtd-build-backend rtd2 run-pdflatex-three-times spam ssh-agent-import subproject-alias support-page token-access tools tox-local-testing update-rtd-theme-js url-refactor user-dashboard vendor-bundle-fix version-tab
Nothing to show
Nothing to show
Fetching latest commit...
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
This directory contains chef sources and a vagrant configuration file. To run on Amazon EC2 * Set up chef * Install ruby and rubygems (If not already installed) * sudo gem install knife-ec2 chef mkdir ~/.chef cp knife.rb ~/.chef # knife.rb is included in the directory where this README is # setup your enviroment variables for your keys (in .profile or another file) export AWS_ACCESS_KEY_ID=XXXXXXXXXX export AWS_SECRET_ACCESS_KEY=XXXXXXXXXXXXXXXXXX # create a amazon ec2 key pair for "rtfd" and save it to ~/.ssh/rtfd.pem knife ec2 server create -r 'role[webserver]' -I ami-7000f019 -f m1.small # you can run this to get the servers you have running, as well as their ip addresses knife ec2 server list # set it as a variable so you can reuse it export RTFDHOST=X.X.X.X # if you ever want to start over from scratch you can destroy the instance by doing knife ec2 delete i-xxxxxxx # more work is needed for it to be integrated into knife # ssh to the machine ssh -i ~/.ssh/rtfd.pem ubuntu@$RTFDHOST sudo su - edit .ssh/authorized_keys # remove section command="echo 'Please login as the ubuntu user rather than root user.';echo;sleep 10" # so it starts with ssh-rsa # This should be automated # if fabric is not installed you will need to do a pip install fabric # install chef on the ec2 server fab install_chef -H $RTFDHOST -i ~/.ssh/rtfd.pem # sync the chef scripts to the server # Make sure to have your key in ssh-agent for rsync to use eval `ssh-agent` ssh-add ~/.ssh/rtfd.pem fab sync_config -H $RTFDHOST -i ~/.ssh/rtfd.pem # sync and run chef on the ec2 instance fab update -H $RTFDHOST -i ~/.ssh/rtfd.pem To use Vagrant # get latest virtualbox if you don't already have it http://www.virtualbox.org/wiki/Downloads # get the latest vagrant # install from downloads or from gem http://downloads.vagrantup.com/ # To start, run vagrant up # Once this is done vagrant ssh # to ssh into the machine # To destroy the box and start over again vagrant destroy