github.com/arkadijs/deis@v1.5.1/contrib/util/add_server_dev_deps.sh (about)

     1  #!/usr/bin/env bash
     2  cd /vagrant/contrib/vagrant/util/
     3  
     4  # Use the `coverage' command to signal whether the container has the dev dependencies
     5  echo "which coverage > /dev/null" | ./dshell deis-controller
     6  if [ $? -ne 0 ]; then
     7  	cat <<-EOF | ./dshell deis-controller
     8  		cd /app
     9  		pip install -r dev_requirements.txt
    10  	EOF
    11  else
    12  	echo "Deis server development dependencies already installed."
    13  fi