Done! The shell command openaddr-process-one now works and does stuff.
In brief, this:
- installs Chef and Ruby via apt
- runs a Python setup recipe. That installs a few Ubuntu Python packages with apt (including GDAL and Cairo), then does a “pip install” in the OpenAddress machine directory. This tells pip to install a bunch of other Python stuff we use.
- runs a recipe for OpenAddresses. This uses git to put the source JSON data files in /var/opt.
But really, that’s so manual. If you just pip install openaddr-machine it makes a /usr/local/bin/openaddr-ec2-run script that will do the work for you. That in turn invokes a run.py script which you run on your local machine. It…
View original post 140 more words