cli-tool
intermediate
utility
Heroku CLI
_
Kopieren Alle Befehle
📄 Erstellen von PDF_HTML_TAG_116_____
_
Umfassende Heroku CLI Befehle und Workflows für die Bereitstellung und Verwaltung von Anwendungen auf der Heroku-Plattform.
Installation und Authentifizierung
Command
Description
INLINE_CODE_0
Login to Heroku
INLINE_CODE_1
Login interactively
INLINE_CODE_2
Logout from Heroku
INLINE_CODE_3
Show current user
INLINE_CODE_4
Display auth token
In den Warenkorb
Basic App Operationen_TABLE_120___
App Konfiguration
Command
Description
INLINE_CODE_11
Show config vars
INLINE_CODE_12
Set config var
INLINE_CODE_13
Remove config var
INLINE_CODE_14
Get specific config var
INLINE_CODE_15
List buildpacks
INLINE_CODE_16
Set buildpack
_
Einsatz
Git Deployment
Command
Description
INLINE_CODE_17
Deploy from main branch
INLINE_CODE_18
Deploy from develop branch
INLINE_CODE_19
Add Heroku remote
INLINE_CODE_20
List releases
INLINE_CODE_21
Rollback to specific release
Container Deployment
Command
Description
INLINE_CODE_22
Login to container registry
INLINE_CODE_23
Build and push container
INLINE_CODE_24
Release container
INLINE_CODE_25
Remove container
Dynos und Skalierung
Dyno Management_TABLE_124___
Dyno Types
Command
Description
INLINE_CODE_32
Show dyno types
INLINE_CODE_33
Resize dyno type
INLINE_CODE_34
SSH into dyno
In den Warenkorb
Add-on Management
Command
Description
INLINE_CODE_35
List app add-ons
INLINE_CODE_36
Add PostgreSQL
INLINE_CODE_37
Add Redis
INLINE_CODE_38
Remove add-on
INLINE_CODE_39
Upgrade add-on plan
INLINE_CODE_40
Downgrade add-on plan
Popular Add-ons
Command
Description
INLINE_CODE_41
Add SendGrid email
INLINE_CODE_42
Add Papertrail logging
INLINE_CODE_43
Add New Relic monitoring
INLINE_CODE_44
Add Heroku Scheduler
Datenbankeinsätze
PostgreSQL
Command
Description
INLINE_CODE_45
List PostgreSQL databases
INLINE_CODE_46
Show database info
INLINE_CODE_47
Connect to database
INLINE_CODE_48
Reset database
INLINE_CODE_49
List backups
INLINE_CODE_50
Create backup
INLINE_CODE_51
Restore backup
Datenbank Maintenance
Command
Description
INLINE_CODE_52
Show maintenance info
INLINE_CODE_53
Run maintenance
INLINE_CODE_54
Show database stats
INLINE_CODE_55
Diagnose database issues
_
Protokollierung und Überwachung
Logs
Command
Description
INLINE_CODE_56
Show recent logs
INLINE_CODE_57
Stream logs
INLINE_CODE_58
Show app logs only
INLINE_CODE_59
Show specific dyno logs
INLINE_CODE_60
Show more log lines
_
### Monitoring
Command
Description
---------
-------------
INLINE_CODE_61
Enable autoscaling
INLINE_CODE_62
Disable autoscaling
INLINE_CODE_63
Show app metrics
Domains und SSL
Domain Management
Command
Description
INLINE_CODE_64
List domains
INLINE_CODE_65
Add custom domain
INLINE_CODE_66
Remove domain
INLINE_CODE_67
Show domain info
_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
### SSL Certificates
Command
Description
---------
-------------
INLINE_CODE_68
List SSL certificates
INLINE_CODE_69
Add SSL certificate
INLINE_CODE_70
Remove SSL certificate
INLINE_CODE_71
Enable automatic SSL
INLINE_CODE_72
Disable automatic SSL
 Pipelines und Review Apps
Pipeline Management
Command
Description
INLINE_CODE_73
List pipelines
INLINE_CODE_74
Create pipeline
INLINE_CODE_75
Delete pipeline
INLINE_CODE_76
Add app to pipeline
INLINE_CODE_77
Remove app from pipeline
_
### Promotions
Command
Description
---------
-------------
INLINE_CODE_78
Promote to production
INLINE_CODE_79
Rollback production
Test Apps
Command
Description
INLINE_CODE_80
Enable review apps
INLINE_CODE_81
Disable review apps
Teams und Zusammenarbeit
Team Management
Command
Description
INLINE_CODE_82
List teams
INLINE_CODE_83
List team members
INLINE_CODE_84
Add team member
INLINE_CODE_85
Remove team member
_
### Access Control
Command
Description
---------
-------------
INLINE_CODE_86
List app collaborators
INLINE_CODE_87
Add collaborator
INLINE_CODE_88
Remove collaborator
CLI Plugins
Plugin Management
Command
Description
INLINE_CODE_89
List installed plugins
INLINE_CODE_90
Install plugin
INLINE_CODE_91
Uninstall plugin
INLINE_CODE_92
Update all plugins
_
### Beliebte Plugins
Command
Description
---------
-------------
INLINE_CODE_93
Install repo plugin
INLINE_CODE_94
Reset git repository
INLINE_CODE_95
Purge build cache
Umweltmanagement
Mehrere Umgebungen
Command
Description
INLINE_CODE_96
Add staging remote
INLINE_CODE_97
Add production remote
INLINE_CODE_98
Deploy to staging
INLINE_CODE_99
Deploy to production
Environment Variables
Command
Description
INLINE_CODE_100
Show staging config
INLINE_CODE_101
Set production config
Wartung und Fehlerbehebung
Wartungsmodus
Command
Description
INLINE_CODE_102
Enable maintenance mode
INLINE_CODE_103
Disable maintenance mode
INLINE_CODE_104
Check maintenance status
Fehlersuche
Command
Description
INLINE_CODE_105
Run bash shell
INLINE_CODE_106
Run Rails console
INLINE_CODE_107
Run Django shell
INLINE_CODE_108
Run Node.js REPL
Command
Description
INLINE_CODE_109
Enable preboot
INLINE_CODE_110
Disable preboot
INLINE_CODE_111
Wait for dyno to be ready
oder Best Practices
Deployment
ANHANG Use Pipelines : Aufbau von Staging- und Produktionsumgebungen
2. ** Umgebungsvariablen*: Speicherkonfiguration in config vars
3. **Datenbasis Migrationen*: Migrationen während des Einsatzes ausführen
4. **Gesundheitschecks*: Implementierung von Gesundheitscheck-Endpunkten
Sicherheit
ANHANG SSL : Verwenden Sie immer SSL für Produktionsapps
2. Umwelttrennung : Staging und Produktion getrennt halten
3. Access Control : Zugriff auf die Mitarbeitergrenzen
4. **Secrets Management*: Verwenden Sie config vars für sensible Daten
ANHANG Dyno Sizing : Wählen Sie entsprechende Dyno-Typen
2. Caching : Umsetzung von Cache-Strategien
3. ** Datenbankoptimierung*: Datenbankabfragen überwachen und optimieren
4. CDN : Verwenden Sie CDN für statische Vermögenswerte
Monitoring
ANHANG Logging : Vollständige Protokollierung durchführen
2. Metrics : Anwendungsmetriken überwachen
3. **Alerts*: Alarme für kritische Fragen einrichten
4. **Error Tracking*: Fehlerverfolgungsdienste nutzen