Skip to content

floatingLomas/grunt-foreman

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

npm install grunt-foreman --save-dev

Usage

Use as such, if your procfile is called Procfile and you don't need anything else:

grunt.loadNpmTasks("grunt-foreman");

grunt.registerTask("serve", "foreman");

Optionally, you can add configuration (by target, 'dev' as default) for one, many or any of:

  • one or more env files
  • a Procfile
  • the port to use
grunt.initConfig({
    foreman: {
        dev: {
            env: [ "development.env", "application.env" ],
            procfile: "Procfile.dev",
            port: 7000
        } //,
    //  production: {
    //      ...
    //  }
    }        
});

Enjoy!

About

Run foreman start like a boss

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%