November 2017
Beginner to intermediate
306 pages
7h 43m
English
Let's create a simple-http app and deploy it on Cloud Foundry. We'll need only one file, called index.http. Optionally, we can create a cf push manifest file for convenience. Create a new directory, named simple-http-app, and populate it with the following files:
| Filename | Content |
| index.http |
<!DOCTYPE html><html><body><h1>Cloud Foundry For Developers</h1><p>Buildpack Creation Sample</p></body></html> |
| manifest.yml |
---applications:- name: simple-http instances: 1 env: SIMPLE_HTTP_BP_VERBOSE: false |
The index.http file is a simple text-only HTML document. Our Simple-HTTP server can only serve simple HTML text-based documents. The manifest.yml file contains the name of the app to be pushed and ...
Read now
Unlock full access