You should run elixir on your development environment and then push the compiled assets to your online service ;) This way you don't have to worry about any compiling on the server
Envoyer and Elixir
Hi,
Currently I'm using envoyer to deploy my code.
The problem is I've tried to using elixir. I run npm installon current directory.
After that I run gulp.
It return me this error
Error: ENOENT: no such file or directory, scandir '/home/forge/example.com/releases/20160502081423/node_modules/node-sass/vendor'
I've tried using deployment hook (after composer update) and run npm install but it return me error.
How can I use elixir and envoyer?
For now it is, since there is not really anything that can make this process easier. Unless you want to compile everything on your production server as well on every deployment.
Here is another thread on the same subject: https://laracasts.com/discuss/channels/elixir/elixir-best-practices-run-on-every-deploy
Please or to participate in this conversation.