https://github.com/swisscom/cf-default-app-php
The default PHP app that will be pushed into the Swisscom Application cloud if no source code is provided.
https://github.com/swisscom/cf-default-app-php
Last synced: 4 months ago
JSON representation
The default PHP 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-php
- Owner: swisscom
- License: other
- Created: 2016-06-22T10:30:31.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-16T15:15:20.000Z (over 1 year ago)
- Last Synced: 2025-10-04T19:46:14.479Z (8 months ago)
- Language: PHP
- Homepage:
- Size: 5.43 MB
- Stars: 0
- Watchers: 33
- Forks: 2
- Open Issues: 0
-
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 PHP
The default PHP app that will be pushed into the Swisscom Application Cloud if no source code is provided.
## Run locally
1. Install [PHP](https://secure.php.net/manual/en/install.php)
1. Run `php -S localhost:3000 -t htdocs`
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 php_app.zip htdocs`