.push-this.sh 381 Bytes
Newer Older
IBM Bluemix's avatar
IBM Bluemix committed
1 2 3 4 5 6 7 8 9 10 11 12 13
#!/bin/sh

rm -f ./public/goweb.zip
zip -r ../goweb.zip ./* > /dev/null 2>&1
mv ../goweb.zip ./public/

echo "This assume that you are already logged in a Bluemix instance"

# Uncomment if you do not want to use the manifest file
#cf push goweb -b https://github.com/michaljemala/cloudfoundry-buildpack-go --no-manifest

# This uses the manifest.yml file in the root folder
cf push