--- a/readme.txt +++ b/readme.txt @@ -2,14 +2,46 @@ Based on the maxious-canberra-transit-feed @ http://s3-ap-southeast-1.amazonaws.com/busresources/cbrfeed.zip Source code for the https://github.com/maxious/ACTBus-data transit feed and https://github.com/maxious/ACTBus-ui this site available from github. -Uses jQuery Mobile, PHP, Ruby, Python, Google Transit Feed Specification -tools, OpenTripPlanner, OpenLayers, OpenStreetMap, Cloudmade Geocoder +Uses jQuery Mobile, PHP, PostgreSQL, OpenTripPlanner, OpenLayers, OpenStreetMap, Cloudmade Geocoder and Tile Service -Must have view.sh running on port 8765 for this webapp to work + Copyright 2010,2011 Alexander Sadleir -For static maps, may have to do + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. + +See aws/awsStartup.sh for example startup steps. You need to load the included database dump; +for other transit networks you can use the updatedb.php script to load. + +For openstreetmap static maps, may have to do /usr/sbin/setsebool -P httpd_can_network_connect=1 -on fedora +on Fedora and other SELinux systems. - +To enter a service override, you can use the psql tool. eg. +transitdata=# COPY calendar_dates (service_id, date, exception_type) FROM stdin; +Enter data to be copied [spaced with tabs] followed by a newline. +End with a backslash and a period on a line by itself. +>> saturday 20110416 2 +>> sunday 20110416 1 +>> saturday 20110423 2 +>> sunday 20110423 1 +>> weekday 20110425 2 +>> sunday 20110425 1 +>> weekday 20110422 2 +>> noservice 20110422 1 +>> weekday 20110426 2 +>> noservice 20110426 1 +>> sunday 20110424 2 +>> noservice 20110424 1 +>> weekday 20110613 2 +>> sunday 20110613 1 +>> \.