https://github.com/swisscom/cf-default-app-nodejs
The default Node.js app that will be pushed into the Swisscom Application cloud if no source code is provided.
https://github.com/swisscom/cf-default-app-nodejs
cloud-foundry express nodejs swisscom-application-cloud
Last synced: about 1 year ago
JSON representation
The default Node.js app that will be pushed into the Swisscom Application cloud if no source code is provided.
- Host: GitHub
- URL: https://github.com/swisscom/cf-default-app-nodejs
- Owner: swisscom
- License: other
- Created: 2016-06-21T10:59:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T15:15:16.000Z (over 1 year ago)
- Last Synced: 2025-04-15T10:19:40.976Z (about 1 year ago)
- Topics: cloud-foundry, express, nodejs, swisscom-application-cloud
- Language: Pug
- Homepage:
- Size: 10.6 MB
- Stars: 0
- Watchers: 33
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# CF Default App Node
The default Node.js app that will be pushed into the Swisscom Application Cloud if no source code is provided.
Based on [Express](http://expressjs.com/).
## Run locally
1. Install [Node.js and npm](https://nodejs.org/)
1. Run `npm install`
1. Run `npm start`
1. Visit [http://localhost:3000](http://localhost:3000)
## Run in the cloud
1. Install the [cf CLI](https://github.com/cloudfoundry/cli#downloads)
1. Run `cf push --random-route`
1. Visit the given URL
## Create ZIP
1. Run `zip -r node.js_app.zip src package.json package-lock.json`