Someone on the team must create an IBM Cloud Organization in their IBM Cloud account and invite other members of your team to it. Your application will be deployed in this organization.
Create a Python Flask Cloud Foundry application in IBM Cloud
Naming is very important so please follow the following format: Use the singular version of your resource name (e.g., orders becomes order) prefixed by nyu- and suffixed by -service-f19.
For example: if you are creating the /wishlists API then please name your IBM Cloud service nyu-wishlist-service (The full URL will then be nyu-wishlist-service-f19.mybluemix.net )
Update your Vagrantfile to download and install the IBM Cloud CLI (hint: an example of this is in the lab-bluemix-cf repo)
Create the necessary Cloud Foundry metadata files for deployment (manifest.yml, Procfile, runtime.txt) file so that IBM Cloud will know how to deploy your application.
Modify your application to get the database credentials from the VCAP_SERVICES environment variable if you are using an IBM Cloud database like Cloudant or IBM DB2, or DATABASE_URI if you are using a 3rd party database like PostgreSQL (from ElephantSQL.com). (hint: see models.py in lab-bluemix-cf for an example)
Add honcho to your requirements.txt file and make sure the the command: honcho start works with your Procfile.
Use ibmcloud cf push to push your application to IBM Cloud
Go to the URL of your service and make sure that it works
What I am looking for here is a working service that is running on IBM Cloud. I also need to be able to start your application in your vagrant VM with the command: honcho start as learned in class.
As a developer
I need my application to run in the cloud
So that I don't have to manage my own servers
Assumptions:
Acceptance Criteria: