Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ryanj/silex-mongodb-parks

An example PHP / Silex app containing MongoDB spatial queries and National Parks data
https://github.com/ryanj/silex-mongodb-parks

Last synced: 13 days ago
JSON representation

An example PHP / Silex app containing MongoDB spatial queries and National Parks data

Awesome Lists containing this project

README

        

# Map of US National Parks
*powered by Silex, PHP, MongoDB, and Leaflet maps*

[![Build Status](http://img.shields.io/jenkins/s/https/build-shifter.rhcloud.com/phparks-build.svg)](https://build-shifter.rhcloud.com/job/phparks-build/) [![Deploy](https://img.shields.io/badge/Launch_on-OpenShift-brightgreen.svg)](https://openshift.redhat.com/app/console/application_type/custom?&cartridges[]=php-5&cartridges[]=mongodb-2&initial_git_url=https://github.com/ryanj/silex-mongodb-parks&name=phparks)

[![Parks example image](https://blog.openshift.com/wp-content/uploads/imported/national_parks_app.png)](http://phparks-shifter.rhcloud.com)

## OpenShift Hosting

[![LAUNCH ON OpenShift](http://launch-shifter.rhcloud.com/launch/LAUNCH ON.svg)](https://openshift.redhat.com/app/console/application_type/custom?&cartridges[]=php-5&cartridges[]=mongodb-2&initial_git_url=https://github.com/ryanj/silex-mongodb-parks&name=phparks)

To deploy a clone of this application using the [`rhc` command line tool](http://rubygems.org/gems/rhc):

rhc app create parks php-5.4 mongodb-2 --from-code=https://github.com/openshift-quickstart/silex-mongodb-parks.git

Or [link to a web-based clone+deploy](https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=php-5.4&cartridges%5B%5D=mongodb-2&initial_git_url=https%3A%2F%2Fgithub.com%2Fopenshift-quickstart%2Fsilex-mongodb-parks.git) on [OpenShift Online](http://OpenShift.com) or on [your own OpenShift cloud](http://openshift.github.io):

https://openshift.redhat.com/app/console/application_type/custom?cartridges%5B%5D=php-5.4&cartridges%5B%5D=mongodb-2&initial_git_url=https%3A%2F%2Fgithub.com%2Fopenshift-quickstart%2Fsilex-mongodb-parks.git

A demo is available at: [http://phparks-shifter.rhcloud.com/](http://phparks-shifter.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/)