Xóa bài viết
Bạn có chắc chắn muốn xóa bài viết này không ?
Xóa bình luận
Bạn có chắc chắn muốn xóa bình luận này không ?
How to Deploy Angular application on Heroku hosting with Git repository
How to Deploy Angular application on Heroku hosting with Git repository
In the tutorial, we show you how to automatically deploy Angular application on Heroku hosting with Git repository.
Related post:
– Angular 6 dynamic Navigation Bar – add/remove Route dynamically
Technologies
- Angular
- Git
- Heroku
Goal
We use Heroku Hosting to deploy Angular application ->
- Video guide ->
Practice
Create Heroku App
Login to Heroku, and create an app grokonez-angular-app:
Commit Angular to Git Repository
Create an Git repository:
angularheroku
.Download sourcecode & unzip:
wget "https://grokonez.com/wp-content/uploads/2018/12/AngularDynamicRoutes-2.zip"
unzip AngularDynamicRoutes-2.zip
- Commit Angular application to Git repository:
git init
git remote add origin https://github.com/grokonez/angularheroku.git
git add .
git commit -m "initial commit"
git push -u origin master
*Note: We don't push the node_modules
, in .gitignore
we have:
More at:
How to Deploy Angular application on Heroku hosting with Git repository
Bình luận

{{ comment.user.name }}
Bỏ hay
Hay

Cùng một tác giả

1
0
Tutorial Link: (Link) (Ảnh) Django is a Pythonbased free and opensource web framework that follows the modeltemplateview architectural pattern. A...

1
0
https://loizenai.com/angular11nodejspostgresqlcrudexample/ Angular 11 Node.js PostgreSQL Crud Example (Ảnh) Tutorial: “Angular 11 Node.js Postg...

1
0
Angular Spring Boot jwt Authentication Example Github https://loizenai.com/angularspringbootjwt/ (Ảnh) Tutorial: ” Angular Spring Boot jwt Authe...
Bài viết liên quan

1
0
https://loizenai.com/angular11nodejspostgresqlcrudexample/ Angular 11 Node.js PostgreSQL Crud Example (Ảnh) Tutorial: “Angular 11 Node.js Postg...

0
0
https://grokonez.com/springframework/springmvc/angular4springbootcassandracrudexample no_toc]In this tutorial, grokonez shows you Angular Http Cli...