Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.19 KB

deploying.md

File metadata and controls

52 lines (37 loc) · 1.19 KB

Deploying

Create a new Folder Publish Profile

Deploy 1

Publish to bin\app.publish

Deploy 2

Run Publish

Deploy 3

Create a manifest.yml

  • Create a new file in the root of the project called manifest.yml
  • NOTE: The path should point to the location of the bin\app.publish directory from the previous step
applications:
- name: onboardingapp
  stack: windows
  buildpacks:
  - hwc_buildpack
  path: OnboardingApp/bin/app.publish

Run cf push

  • Open a Powershell terminal ad change directories to the location of the manifest.yml
cd C:\workspace\OnboardingApp

cf push

Deploying a 32-bit application

  • By Default, the hwc_buildpack assumes there are no 32-bit (x86) dependencies and runs as an x64 application
  • To change this, the manifest has to be updated to use the hwc_x86.exe executable
  • See the Hosted Web Core Guide on how to troubleshoot 32-bit applications locally
applications:
- name: onboardingapp
  stack: windows
  buildpacks:
  - hwc_buildpack
  path: OnboardingApp/bin/app.publish
  command: .\.cloudfoundry\hwc_x86.exe