The "run" file is just an executable shell file (it's created in the step after creating the Procfile). You can create it by doing something like: "vim run" and then add the following lines to that file:
#!/bin/bash python setup.py develop python runapp.py After saving that file, run "chmod +x run" to make that file executable. I hope that helps! P.S. I'm not an expert with gunicorn, so I'll yield to other's expertise on that. On Thursday, October 4, 2012 12:20:32 PM UTC-7, Zak wrote: > > Doug - > > I'm trying to run the stack locally with foreman. I'm not using "paster > serve development.ini" because I'm using Gunicorn and it takes arguments > that can't be set exclusively in an INI file. In the Pyramid tutorial for > Heroku, the example says to create a procfile with the line "web: ./run" This > is the source of my confusion. What is "run" exactly? How am I suppose to > generate that command? web: python runapp.py seems to work because I do > actually have a runapp.py in the app directory, but that is different than > the example in the tutorial. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/tNrZWH6LrpsJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
