play-capistrano icon indicating copy to clipboard operation
play-capistrano copied to clipboard

Allow framework id to be set in deploy.rb

Open ghost opened this issue 13 years ago • 3 comments

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.

ghost avatar Dec 08 '11 06:12 ghost

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!

mandubian avatar Dec 08 '11 16:12 mandubian

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.

ghost avatar Dec 08 '11 17:12 ghost

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?

mandubian avatar Dec 08 '11 17:12 mandubian