Ldp
4
The datasource is defined in inc/datasource-settings.xml.inc. You either create that by hand by copying the .template version and adjusting the fields for your environment, or by running the generate_xml.py script with those settings.
You then point renderd to the osm.xml file.
The rails_port is not needed for a mapnik/mod_tile setup.