Download and extract the Postfacto 3.0.1 release. Use the other files in this gist to replace the ones in the extracted archive before pushing.
- pcf/deploy.sh (script just plain doesn't work for PCF)
- pcf/assets/Gemfile (Ruby version doesn't exist in buildpack)
- pcf/assets/api/config/cable.yml (Turn off Redis)
- pcf/config/manifest-api.yml (Turn off Redis)
With the new replacement files in place you can follow the instructions to deploy the app, with one minor caveat. The new deploy.sh doesn't take a PCF endpoint URL. You're command should now look like:
./deploy.sh postfacto-web postfacto-api
Before running this command make sure you're logged into your PCF environment and targeting the correct org and space. You'll also need to make sure you've already created a postfacto-db
MySQL service instance.