๐
๐
๐
๐
CLI Cheatsheet ๐ง ๐ฎ๐ฉ
Github
Searchโฆ
Introduction
Chocolatey
Firebase
Git
Heroku
Hugo
Netlify
Nextcloud
now
npm
Other framework
PowerShell
Vercel
Vue
Deta
Powered By
GitBook
Heroku
heroku adalah tool untuk deploy static site ke Heroku.
Instalasi
Dengan menggunakan
npm
1
npm
install
-g heroku
Copied!
Untuk cara install alternatif bisa mengikuti langkahnya lewat
panduan ini
.
Perintah umum
Untuk bantuan ketik
heroku help
.
Update program
1
heroku update
Copied!
Pre-deploy
Bagian ini adalah persiapan sebelum deploy ke Heroku. Jalankan command dalam folder project.
1
heroku login
Copied!
Untuk project yang git repository-nya belum aktif, lakukan langkah berikut.
1
git
init
2
heroku git:remote -a
<
NAMA_PROJECT
>
Copied!
Yang sudah aktif, gunakan langkah ini.
1
heroku git:remote -a
<
NAMA_PROJECT
>
Copied!
Deploy/update ke Heroku
1
git
add
.
2
git
commit -am
"Initial commit"
3
git
push heroku master
Copied!
Buildpacks yg tersedia
1
heroku/nodejs
2
heroku/python
3
heroku/php
4
heroku/ruby
5
heroku/java
6
heroku/go
7
heroku/gradle
8
heroku/scala
9
heroku/clojure
Copied!
Previous
Git
Next
Hugo
Last modified
1yr ago
Copy link
Contents
Instalasi
Perintah umum
Update program
Pre-deploy
Deploy/update ke Heroku
Buildpacks yg tersedia