I want to run the node.js application on an elastic beanstalk. I have a client that is created by rough work (jade, less, concat, etc.). I excluded this folder from git
I can run this locally with grunt buildClient which is executed by grunt-cli
I added grunt and grunt-cli in my dev-dependencies packages
I want to run the grunt build before the application starts, I already configured the configuration in .ebextensions/app.config
container_commands: 01_build_client: command: grunt buildClient
I think my cwd /tmp/deployment/application/
but there is Fatal error: Unable to find local grunt . I assume grunt-cli is installed, but why this error?
I also tried to put the grunt job in the postinstall section of package.json , but this does not work either.
How can I build my job on an EBS instance?
pfried
source share