Deploying Kitura Swift App to IBM Bluemix

brew install cloudfoundry/tap/cf-cli
— name: Hello-Pokemon
random-route: true
memory: 256M
command: Hello-Pokemon
buildpack: swift_buildpack
cf api
cf login
cf push
cf logs Hello-Pokemon --recent
cf push Hello-Pokemon -u process
health-check-type: process
swift buildcf push Hello-Pokemon -u process


As Alex pointed out, you can allow the code to figure out which port to use.



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mohammad Azam

Mohammad Azam


iOS Developer, speaker and educator. Top Udemy and LinkedIn instructor. Lead instructor at DigitalCrafts.