🔧 ProgrammierungRobot Fleet Management Software: A Complete Guide(16.09.2026 um 15:24 Uhr)
🕵️ SicherheitslückenKnown MCP Vulnerabilities and How an MCP Gateway Blocks Them(16.09.2026 um 15:21 Uhr)
🔧 ProgrammierungSimba 3.2 Frontier TTS for $10/1M Characters(16.09.2026 um 15:35 Uhr)
🔧 ProgrammierungAdd casting to a custom HTML5 video player without breaking it(16.09.2026 um 15:39 Uhr)
🔧 AI Nachrichten SK Hynix reportedly in talks with Intel to build memory chips in US(16.09.2026 um 15:23 Uhr)
🔧 AI Nachrichten What AI Can Teach Us About Being Human(16.09.2026 um 15:37 Uhr)
🔧 ProgrammierungRobot Fleet Management Software: A Complete Guide(16.09.2026 um 15:24 Uhr)
🕵️ SicherheitslückenKnown MCP Vulnerabilities and How an MCP Gateway Blocks Them(16.09.2026 um 15:21 Uhr)
🔧 ProgrammierungSimba 3.2 Frontier TTS for $10/1M Characters(16.09.2026 um 15:35 Uhr)
🔧 ProgrammierungAdd casting to a custom HTML5 video player without breaking it(16.09.2026 um 15:39 Uhr)
🔧 AI Nachrichten SK Hynix reportedly in talks with Intel to build memory chips in US(16.09.2026 um 15:23 Uhr)
🔧 AI Nachrichten What AI Can Teach Us About Being Human(16.09.2026 um 15:37 Uhr)

🔧 Programmierung 🕛 vor 1 Jahr 4 Min Lesezeit
0

Implantando um aplicativo Angular com DigitalOcean e GitHub de forma gratuita

↗ Quelle (dev.to)
🗣️ Stimme:

Neste artigo, abordaremos como implantar um aplicativo Angular utilizando o DigitalOcean combinado com o GitHub para configurar um pipeline de entrega contínua (CI/CD) de forma eficiente e gratuita.



Esses dias, estava olhando algumas opções, para criar uma pipeline de um projeto pessoal, com bom custo beneficio, e me deparei com o serviço



Passo 02 (Ajustar configurações do projeto):



Ajuste o processo de build no arquivo angular.json, por default o angular vem configurado para gerar um build de aplicativo para executar em um servidor, precisamos que gere os arquivos para executar de forma estatica.



Ajuste de o arquivo para conforme o trecho abaixo de:




CODE
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:application",
"options": {
"outputPath": "dist/angular-platform-app",
"index": "src/index.html",
"browser": "src/main.ts",
.....






Para:




CODE
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
.....






Neste caso a alteração aqui foi feita em "builder" alterado de application para browser, e consequentemente a chave "browser" para "main".



Também foi alterado "outputPath" para que os arquivos fiquem na raiz da pasta "dist".



DIFF:





Deixe marcado a opção Github e será necessário conceder permissão para DigitalOcean enxergar seus repositórios:





Avance para próxima etapa, e neste momento que precisaremos ajustar o resourceType para efetuar o deploymeny em um "Static WEB", por padrão ele vem marcado como "WebServer". No APP basta clicar em Edit, e na opção "ResourceType" clicar também em Edit e selecionar a opção "Static Site", conforme imagem abaixo:





Finish, aplicativo criado e implementado:





É isso pessoal, espero que o conteúdo seja util, e estou aberto a sugestões e críticas com relação ao conteúdo.



Um abs!



Links importantes:



Repositório utilizado no exemplo:



Documentação Angular:

https://angular.dev/installation

Vollständiger Original-Artikel
Den kompletten Beitrag mit allen Details direkt auf dev.to lesen.
↗ Original-Artikel auf dev.to lesen
Wie bewertest du diesen Beitrag?
1 Klick Feedback
Teilen mit Netzwerk & Team:

Community-Analysen & Experten-Meinungen 0

Verfasse deine eigene Analyse, teile Workarounds oder diskutiere diesen Vorfall im Blog.
Noch keine Community-Analyse verfasst. Markiere einen Textabschnitt oder klicke oben auf Eigene Analyse verfassen“!
Community Pulse: Relevanz-Einschätzung
1 Klick Experten-Votum
🔴 Akute Relevanz 0%
🟡 In Evaluierung 0%
🟢 Keine Auswirkung 0%
Spannende Innovation 0%
Verwandte Story-Cluster & Quellen (Vektor-KI)
Port 8095 Engine
2 Quellen
Apache Syncope Vulnerabilities Allow Attackers to Execute Malicious Code and Bypass Controls
1 Quelle
SK Hynix reportedly in talks with Intel to build memory chips in US
1 Quelle
What AI Can Teach Us About Being Human
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Implantando um aplicativo Angular com DigitalOcean e GitHub de forma gratuita

Thematisch verwandte Begriffe: Implantando, aplicativo, Angular, DigitalOcean · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...