Merge pull request #876 from bbertka/master

Added CF deployment script
This commit is contained in:
mdipierro
2015-03-29 18:05:19 -05:00

View File

@@ -0,0 +1,6 @@
read -p "Please choose a Web2Py Administrator password:" passwd
echo "web: python web2py.py -a '$passwd' -i 0.0.0.0 -p \$PORT" > Procfile
mkdir vendor
pip install --download vendor -r requirements.txt
read -p "Please choose a CF application name:" appname
cf push $appname -b https://github.com/cloudfoundry/buildpack-python.git