play-capistrano
play-capistrano copied to clipboard
Allow framework id to be set in deploy.rb
Currently the play-recipes.rb hard codes the framework id to be 'prod' when starting the play app. It would be nice if this was configurable by a variable set in the deploy.rb script so that deploy to different environments.
Yes it could be nice! If you can contribute it, don't hesitate to send a pull request with this modif and I'll pull it! Thanks in advance!
I'll do that when I have a chance, I've been adding evolutions support and tweaking things here and there. Not 100% sure why you felt the run.sh was necessary and stuff like play:status fails because it doesn't include the framework ID/environment.
play:status fails? Oups, I didn't use much!
The run.sh was necessary as far I can remember because without it, it can't run in nohup+background due to Capistrano issue I didn't analyze deeply. Do you have another solution?