This PR let devs now deploy server-less apps like std apps. Simply use the deploy command but pass the path to the built assets instead of a port number. E.g.:
$ cozy-dev deploy public # map `public` folder as root for my-app
$ cozy-dev deploy . # map current folder as root
$ cozy-dev deploy . foo # map current folder as root and deploy app under the slug `foo`
The undeploy command works as well.
Note: your app must be available in the /vagrant folder (i.e. in a subdir behing the dir containing the Vagrantfile in your host) to let mapping works.
This PR let devs now deploy server-less apps like std apps. Simply use the
deploy
command but pass the path to the built assets instead of a port number. E.g.:The
undeploy
command works as well.Note: your app must be available in the
/vagrant
folder (i.e. in a subdir behing the dir containing the Vagrantfile in your host) to let mapping works.