PHP demo app for Cloud Craft for Spatial Cadets presentation
PHP CSS Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.openshift
static
vendor
.htaccess
DATA-LICENCE
README.md
app.php
bootstrap.php
composer.json
composer.lock
composer.phar
wellington-city-public-conveniences.json

README.md

Map of Toilets in Wellington, New Zealand

powered by Silex, PHP, MongoDB, and Leaflet.js

To deploy a clone of this application using the rhc command line tool:

rhc app create findaloo php-5.4 mongodb-2 --from-code=https://github.com/codemiller/cloud-craft-php.git -s

Or link to a web-based clone+deploy on OpenShift Online or on your own OpenShift cloud:

https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=php-5.4&cartridges%5B%5D=mongodb-2&scale=true&initial_git_url=https%3A%2F%2Fgithub.com%2Fcodemiller%2Fcloud-craft-php.git

A demo is available at: http://findaloo-cloudcraft.rhcloud.com/

Local Development

Fire up your own local development server with PHP 5.4 or better:

php -S localhost:8080 -t static app.php 

License

This code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)