-
Notifications
You must be signed in to change notification settings - Fork 5
Deploy to Heroku
Masanori Ohgita edited this page Nov 30, 2024
·
12 revisions
Deploy your app to Heroku using automated deployment from a GitHub repository.
This app can be deployed with either of the following methods:
-
Heroku
stack and Node.js buildpack (without Docker):- Pros.
- Easy to deploy in a short build time.
- Pros.
-
Container
stack (with Docker):- Pros.
- You can install various dependent packages and native modules, using the
apt
command and other methods.
- You can install various dependent packages and native modules, using the
- Pros.
To deploy using this method, you just create a new repository from this repository.
Then, please navigate to https://heroku.com/deploy?template=https://github.com/YOUR_GITHUB_NAME/YOUR_REPOSITORY_NAME/tree/master
To deploy using this method, first create a new repository from this repository.
Then, please edit, commit and push the 2 files in your repository as follows:
{
"name": "angular-nest",
"env": {},
"addons": [],
"stack": "container"
}
build:
docker:
web: Dockerfile
Then, navigate to https://heroku.com/deploy?template=https://github.com/YOUR_GITHUB_NAME/YOUR_REPOSITORY_NAME/tree/master
- https://devcenter.heroku.com/articles/heroku-button
- https://devcenter.heroku.com/articles/stack - About "Heroku" stack and "Container" stack.