Fix service alert filtering
[busui.git] / readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Busness Time - An ACT bus timetable webapp
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, PostgreSQL, OpenTripPlanner, OpenLayers, OpenStreetMap, Cloudmade Geocoder 
and Tile Service

   Copyright 2010,2011 Alexander Sadleir 

   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 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
>> \.