To use:
- clone this project and import into Visual Studio.
- Right click on BookService in the project explorer, and select Publish and select the "Cloud Foundry" profile from the dropdown list.
- There is no magic involved in that publish profile. It is just pusblishing the project to the local disk at c:\temp\BookService.
cd c:\temp\BookService
- Target your CF api endpoint and login.
- Create a MySQL service in the space you are pushing to called
BookContextService
. cf push --no-start
and thencf enable-diego bookservice
if you are on Pivotal Cloud Foundry <1.6, orcf push
if you are 1.6 or higher.- Browse to your app and enjoy!