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.

DockerCompose.services_up?

Public: Determine if all docker-compose services are in the 'Up' state.

Example:

  DockerCompose.services_running?(services: ["classroom_postgresql"])
  # => false

Returns a boolean.

Source | Google | Stack overflow

Edit

git clone [email protected]:education/classroom.git

cd classroom

open lib/docker_compose.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-DockerCompose-services_up--for-pr


# Commit to git

git add lib/docker_compose.rbgit commit -m "better docs for DockerCompose.services_up?"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-DockerCompose-services_up--for-pr

hub pull-request


# Celebrate!