intercity / chef-repo

Set up your server to host Ruby on Rails apps. - Follow us on Twitter: @intercityup
MIT License
417 stars 84 forks source link

Multiple apps on vps? #162

Closed cvandermeer closed 9 years ago

cvandermeer commented 9 years ago

After successfully putting my first app online using this repo. I wondered is it possible to put multiple apps on my vps using chef-repo?

michiels commented 9 years ago

Yes! That's one of the most important features of this repository.

Just add another application to the active_applications key in your json configuration file and it works the same as the other app you already have!

cvandermeer commented 9 years ago

Does this mean i keep the application that is already on there in the json file. Or do i replace it with the new app information?

jvanbaarsen commented 9 years ago

Yes You keep all the apps you want on the server in the JSON file. Chef will look at the JSON file and determine which commands it needs to run, and which are already ran.

michiels commented 9 years ago

You keep it in there. So you will have two applications with a different name in the active_applications key in the json file.

berkes commented 9 years ago

I'm trying to improve the documentation and this seems like a good opportunity to make some improvements. @cvandermeer, some questions that could help us improve this docs.

cvandermeer commented 9 years ago