Skip to content

WISE-PaaS/static-page-sample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

static-page-sample

This is a sample code to demonstrate how to deploy a simple static page to the WISE-PaaS.

Screenshot

static page


Steps

1. Modify manifest.yml

This is a file that must exist inside the root folder of the application. You can customize your own configuration relatd to your app with this file. You can go ahead and push this sample code without editing the default values in it if you are just trying the deployment process.

manifest.yml

---
applications:   
- name: hello-wise-paas-static-1.0.0
  memory: 64M
  disk_quota: 256M
  instances: 1

2. Staticfile Buildpack

Add the following field to the manifest.yml.

  buildpack: Staticfile_v1-4-27

3. Deploy

Open the command line tool that you prefer. Enter the root folder of your project and input the following commands.

Push your app

$ cf push --no-start

Check the app list and make sure the app you just pushed is in the list

$ cf apps

Start the app

$ cf start <AppName>

4. Check the Webpage

Input command $ cf apps and you will see the app list. The external URL for your app can be found in the urls column.

Copy this URL and paste it in the browser to see if the page can be displayed.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published