classroom
https://github.com/education/classroom
Ruby
GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
ClassroomConfig#setup_repository
Public: Setup a GitHub Repository based on classroom configurations
repo - A GitHubRepository instance for which to perform the configuration
setups
Returns true when setup is successful false otherwiseEdit
git clone [email protected]:education/classroom.git
cd classroom
open app/services/classroom_config.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ClassroomConfig-setup_repository-for-pr
# Commit to gitgit add app/services/classroom_config.rbgit commit -m "better docs for ClassroomConfig#setup_repository"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ClassroomConfig-setup_repository-for-pr
hub pull-request
# Celebrate!