-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
47 lines (27 loc) · 1.6 KB
/
README
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
London Ontario's City Budget API
== Development Setup ==
Clone the project to a web-accessible folder.
git clone git://github.com/rtraction/citybudget.git citybudgetapi
Copy application/config/config.sample.php to application/config/config.php.
Edit application/config/config.php and put your URL into $config['base_url'].
Copy application/config/database.sample.php to application/config/database.php.
Configure your database settings in application/config/database.php.
Note: If you are going into a production environment you should not make
application/controllers/import.php publicly available.
Run citybudget.sql into your database.
That's it! Test your setup by navigating to the site, for example:
http://localhost/citybudgetapi/api/organizations/
Most important files are in
application/controllers/
application/models/
application/views/
For more information about working with RESTful services in Code Igniter, check out
http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/
Code Strong,
Open Data London
== What is this project? ==
The budget data for London is currently available on the city website in PDF form.
This is not a very useful format for creating visualizations and applications.
This project takes the city budget, that has been manually entered into a spreadsheet by volunteers, and imports it into a database. Now the data can be accessed programmatically and displayed with this API.
Check it out in action at http://budget.opendatalondon.com/
We're hoping to have some cool apps implementing this software by the end of Open Data Hackathon Day :)