Skip to content

ScientificMed/heroku-buildpack-grunt-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

heroku-buildpack-grunt-java

This is a Heroku buildpack for Java apps with Grunt for building the included frontend part(s).

The buildpack will detect your app as "Grunt+Java" if it has a package.json as well as a pom.xml file in the root. It will use npm to install your dependencies, building the frontend with Grunt and continue building a Java app.

This is a merged fork of Heroku's official Node.js buildpack and Heroku's official Java buildpack with added Grunt support. Using this buildpack you do not need to commit the results of your Grunt tasks (e.g. minification and concatination of files), keeping your repository clean.

Node.js and npm versions

You can specify the versions of Node.js and npm your application requires using package.json

{
  "name": "myapp",
  "version": "0.0.1",
  "engines": {
    "node": "~0.10.13",
    "npm": "~1.3.2"
  }
}

To list the available versions of Node.js and npm, see these manifests:

Usage

To configure an existing app to use your buildpack:

# Create a new Heroku app that uses your buildpack
heroku create --buildpack <your-github-url>

# Configure an existing Heroku app to use your buildpack
heroku config:set BUILDPACK_URL=<your-github-url>

# You can also use a git branch!
heroku config:set BUILDPACK_URL=<your-github-url>#your-branch

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages