DennisOSRM/Project-OSRM — pull request #50 by emiltin (2011-12-07 17:02:27+00:00)
Title: SConstruct works on Mac, rake convenience tasks

I cleaned up the commit history. Included in this commmit:

- makes scons building work on mac
- adds a sandbox folder (ignored by git) and a test .osm.pbf file (200k)
- adds some rake convenience tasks for setting up config files, reprocessing data, etc.

The sandbox is a place to try out different config settings, try different data, etc, without affecting the local repo, yet still with the convenience of the rake tasks you can run from the root of the project folder. The rake tasks will copy config and data files needed into the sandbox, and then only operate on them there.

Run 'rake' from the root folder, and it will use scons to compile osrm, setup the config files, process data, and start the server.. everything in one simple command.

'rake setup' will copy the server files to the sandbox, and adjust file paths in them as needed
'rake process' will re-extract and reprocess data in the sandbox
'rake download' will download fresh osm data from geofabrik

Let me know what you think.