Skip to content

CityofSantaMonica/Orchard.ParkingData

Repository files navigation

Orchard.ParkingData

RESTful Web API for the City of Santa Monica's Parking Data, implemented as an Orchard module.

Development Notes

This module currently targets Orchard 1.9.2

This module has a dependency on the CSM.WebApi module.

The theme for the site can be found here CSM.ParkingData.Theme. This theme is a child theme of the CSM.BootstrapBase theme.

Tests can be found in the Tests subproject; NUnit is the testing framework.

To get a local copy running, some initial setup is required. This Orchard development guide provides an introduction to a general project structure; the same procedure can be used to get setup for developing the Parking API site.

  1. Clone the Orchard source and checkout the 1.9.2 branch
  2. Clone this repository (e.g. into a folder called CSM.ParkingData)
  3. Clone the CSM.WebApi into a folder called CSM.WebApi
  4. Clone the CSM.ParkingData.Theme into a folder called CSM.ParkingData.Theme
  5. Clone the CSM.BootstrapBase into a folder called CSM.BootstrapBase
  6. Following the dev guide on source code setup, create junctions that point from inside Modules (or Themes) in the Orchard source, to the repositories you cloned in steps 2 - 4.
  7. Following the dev guide on solution setup, add the modules (and theme) to your Orchard solution.
  8. Rebuild the solution.

Publishing Notes

  1. Obtain the publish profile from Azure, add to the parent Orchard.Web project in the Orchard solution.
  2. Ensure the publish profile is configured so that the File Publish Options Remove extra files at destination and Exclude files from the App_Data folder are checked.
  3. Add the <rewrite> node from this module's Web.config to the <system.webServer> node in Orchard.Web's Web.config file.
  4. Rebuild the site and ensure it runs locally (SqlCE setup will work for simple build/run testing)
  5. Select the Orchard.Web project, and click Publish Web to deploy.

About

An Orchard module defining a RESTful Web Api for parking-related data in Santa Monica

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages