0

Is there a way for me to run npm install and then gulp when deploying a Clojure app to heroku?

2 Answers 2

1

You will probably want to use Heroku's Multi-buildpack with the Node.js and Clojure buildpacks. This is documented for Java and Scala.

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks, I just ended up building my own buildpack
Cool. While it's great that folks can create their own buildpacks, there is an advantage to using the Heroku supported buildpacks. They are updates regularly with security fixes for the JDK and other components. Heroku can also provide a better level of support.
0

You can use npm's scripts in your package.json. See https://devcenter.heroku.com/articles/nodejs-support#customizing-the-build-process

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.