Noderize

Noderize

  • Docs
  • GitHub

›Guides

Get Started

  • Introduction
  • Create
  • Scripts
  • Examples

Configuration

  • Index
  • Noderize
  • Prettier
  • Jest

Features

  • Index
  • Modern JavaScript
  • Flow
  • TypeScript
  • Code Formatting
  • Testing
  • Linting

Guides

  • Index
  • Migrate
  • Publishing
  • Heroku
  • Firebase Cloud Functions
  • Google Cloud Functions

Tutorials

  • Index
  • Express
  • CLI

Guide: Heroku

Deploying to Heroku is very simple:

  • Be in a Git repo (optional, git init)
  • Create a Heroku app using heroku create [name]
  • Move @noderize/scripts from devDependencies to dependencies in your package.json.
  • Add heroku-postbuild script in package.json:
    {
      "scripts": {
          "...": "...",
          "heroku-postbuild": "noderize-scripts build --env production"
      }
    }
    
  • Deploy like normal (if in a Git repo, commit and push with git push heroku master)!

This method also works for Dokku.

← Guide: PublishingGuide: Firebase Cloud Functions →
Noderize
Docs
Getting StartedConfigurationFeaturesGuidesTutorials
More
BlogGitHubStar
Copyright © 2018 Charles Crete.