Open lcreid opened 8 years ago
Remember that the first time someone starts the box, they don't have anything to start, at least in the case of Rails. And how would you know which server to start? You have to recognize whether what's in the folder is Rails or Jekyll. You also have to find it -- the user might not have put the project at the root of the /vagrant
directory. You might have one directory for Rails and another for Jekyll for example. Not as simple as it seems, but still desirable.
One idea might be to document how to add something to the .profile
, or the Vagrantfile
, to start the relevant tools, in the relevant place.
Another reason you might not want to start automatically is that some applications can strain the box a bit if you're running tests and the server at the same time. There's a bit of a balancing act that we might want to leave up to the user to configure things they way they want.
Could do this with a provisioner that always runs.