Monday, April 17, 2017
The previous blog post we setup our application to work with Heroku locally. In this post we will deploy our application to the live Heroku platform.
Here are the steps to deploy our application to Heroku:
1. First we need to check in our code into a local Git repository to add our code to Git is easy first type git init
2. Then type git add .
3. Then type git commit -m "Initial commit"
4. After you type in all three commands you should see the .gitignore file in the root directory
5. Now we need to create a heroku application, type in the command heroku create in the command line
If you haven't logged in to Heroku, you will see an error that will prompt you to open your browser to log in. You just need to press any key to launch the browser to log in.
6. To verify that the application has been created log into your heroku account and you will see it
We've created an empty app actually, the next step is to push the local Git repository into the repository
7. type git push heroku master and heroku will do push your local git repository to the heroku git repository.
8. And your application is deployed to the web! Go Heroku! You can also type into the command line heroku open in the command line if you can't remember the weird URL that heroku gives you.
Note: Your application URL will be different because it will be tied to your heroku account
Previous:AngularJS SPA: Setup The Bank Application For Heroku And Testing It Locally
Posts In The AngularJS SPA Application Series:
Here are the steps to deploy our application to Heroku:
1. First we need to check in our code into a local Git repository to add our code to Git is easy first type git init
3. Then type git commit -m "Initial commit"
4. After you type in all three commands you should see the .gitignore file in the root directory
If you haven't logged in to Heroku, you will see an error that will prompt you to open your browser to log in. You just need to press any key to launch the browser to log in.
We've created an empty app actually, the next step is to push the local Git repository into the repository
7. type git push heroku master and heroku will do push your local git repository to the heroku git repository.
Previous:AngularJS SPA: Setup The Bank Application For Heroku And Testing It Locally
Posts In The AngularJS SPA Application Series:
- Setting Up Angular-Seed
- Preparing Angular-Seed For The Shopping List Application
- Refactor Code to Not Use Global Variables (Shopping List App)
- Installing MongoDB
- Create a MongoDB Configuration FIle
- Install mongoDB as a Windows Service
- Installing Express generator
- Installing ExpressJS Application Server
- Creating The SPA Project Folder Structure
- Setup Express To Serve Static Files
- Setup The Shopping Application For Heroku And Testing It Locally
- Deploy Shopping List Application To Heroku
- Install RoboMongo GUI for MongoDB
Subscribe to:
Post Comments (Atom)
Search This Blog
Tags
Web Development
Linux
Javascript
DATA
CentOS
ASPNET
SQL Server
Cloud Computing
ASP.NET Core
ASP.NET MVC
SQL
Virtualization
AWS
Database
ADO.NET
AngularJS
C#
CSS
EC2
Iaas
System Administrator
Azure
Computer Programming
JQuery
Coding
ASP.NET MVC 5
Entity Framework Core
Web Design
Infrastructure
Networking
Visual Studio
Errors
T-SQL
Ubuntu
Stored Procedures
ACME Bank
Bootstrap
Computer Networking
Entity Framework
Load Balancer
MongoDB
NoSQL
Node.js
Oracle
VirtualBox
Container
Docker
Fedora
Java
Source Control
git
ExpressJS
MySQL
NuGet
Blogger
Blogging
Bower.js
Data Science
JSON
JavaEE
Web Api
DBMS
DevOps
HTML5
MVC
SPA
Storage
github
AJAX
Big Data
Design Pattern
Eclipse IDE
Elastic IP
GIMP
Graphics Design
Heroku
Linux Mint
Postman
R
SSL
Security
Visual Studio Code
ASP.NET MVC 4
CLI
Linux Commands
Powershell
Python
Server
Software Development
Subnets
Telerik
VPC
Windows Server 2016
angular-seed
font-awesome
log4net
servlets
tomcat
AWS CloudWatch
Active Directory
Angular
Blockchain
Collections
Compatibility
Cryptocurrency
DIgital Life
DNS
Downloads
Google Blogger
Google Chrome
Google Fonts
Hadoop
IAM
KnockoutJS
LINQ
Linux Performance
Logging
Mobile-First
Open Source
Prototype
R Programming
Responsive
Route 53
S3
SELinux
Software
Unix
View
Web Forms
WildFly
XML
cshtml
githu
It's not a technical question but I wanna ask that can we create a program for led lights monitration for grow marijuana and it's analysis.
ReplyDeleteMua vé tại đại lý vé máy bay Aivivu, tham khảo
ReplyDeleteve may bay di my gia re
chuyến bay đưa công dân về nước
thông tin chuyến bay từ canada về việt nam
vé máy bay giá rẻ nhật việt
bay từ hàn quốc về việt nam
Vé máy bay từ Đài Loan về Việt Nam
vé máy bay chuyên gia nước ngoài sang Việt Nam