nanobox
nanobox copied to clipboard
Add "start" command
trafficstars
Usually apps are started via nanobox run <specific-command> where <specific-command> would e.g. be php-server for PHP apps.
I'd like to suggest a generic start command which automatically invokes the default start command of the first web component.
This would allow for starting all basic web apps with the same command without knowing specific details about the startup procedure:
- Launch a generic PHP web app:
nanobox startinstead ofnanobox run php-server - Launch a Rails web app:
nanobox startinstead ofnanobox run rails s - ... you get the idea. ;-)
@mbrodala You can work around this with a simple shell script if you want. I created a server-start.sh that runs all I need to create my development environment.
Sure but as mentioned this is about a general solution, not some workaround. ;-)