Skip to content

Commit

Permalink
en: document delete heroku-deployment section (#1797)
Browse files Browse the repository at this point in the history
  • Loading branch information
taishikato authored and Atinux committed Jan 6, 2020
1 parent 15f4845 commit c0055de
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions en/faq/heroku-deployment.md
Expand Up @@ -30,17 +30,6 @@ You should see this in your Heroku dashboard (Settings section):

![nuxt config vars Heroku](https://i.imgur.com/EEKl6aS.png)

Then, we tell Heroku to launch `npm run build` via the `heroku-postbuild` script in our `package.json`:

```js
"scripts": {
"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"heroku-postbuild": "npm run build"
}
```

Heroku uses a [Procfile](https://devcenter.heroku.com/articles/procfile) (name the file `Procfile` with no file extension) that specifies the commands that are executed by the apps dynos. To start the Procfile will be very simple, and needs to contain the following line:

```
Expand Down

0 comments on commit c0055de

Please sign in to comment.