How to create a sitemap in a Wordpress site on Heroku?

Hi There! So, I want to know how to create a sitemap in a wordpress site on heroku or openshift or pagodabox. Those sites allow you to add files only through command line and git, so I notice that it doesn't allow the wordpress site to create the sitemap itself. Any ideas? cheers