You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/Heroku Tutorial.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,20 +6,20 @@ In this tutorial, we will introduce a popular cloud application platform called
6
6
7
7
Heroku is a cloud platform for deploying and running modern apps. A more detailed Introduction can be found [here](https://www.heroku.com/platform).
8
8
9
-
Some of the key advantages of Heorku include:
9
+
Some of the key advantages of Heroku include:
10
10
- No server side knowledge is required, so it is easy to set up.
11
11
- It can be free, but the free tier has some limitations, which we will discuss later when we introduce [`Dyno`]().
12
12
- It enables SSL so the communication between your app and its users are encrypted.
13
13
14
14
15
15
# Deploying our app onto Heroku
16
16
17
-
In this section, we will descrbe in length on how to deploy our app onto Heroku.
17
+
In this section, we will describe in length on how to deploy our app onto Heroku.
18
18
19
19
## Preparing our code
20
20
21
21
Before we start deploying our app into Heroku, we need to make some preparation:
22
-
- We will be using GitHub to store our application source code and make it available for Heorku.
22
+
- We will be using GitHub to store our application source code and make it available for Heroku.
23
23
- We need to add a few files to allow Heroku to understand and run our application.
24
24
25
25
We will explain exactly how to do it in this section.
@@ -46,7 +46,7 @@ python-3.5.2
46
46
47
47
#### requirement.txt
48
48
49
-
The next file we need to add is called `requirement.txt`, which specifies all the depencies of our project. So for our sample project, we will have something like this for the `requirement.txt` file:
49
+
The next file we need to add is called `requirement.txt`, which specifies all the dependencies of our project. So for our sample project, we will have something like this for the `requirement.txt` file:
50
50
51
51
```
52
52
Flask
@@ -61,7 +61,7 @@ Note that we are running a `Python` project, and `uWSGI` is used to run `Python`
61
61
62
62
#### uwsgi.ini \*
63
63
64
-
The `uwsgi.ini` file is only neccesary if you are running a `Python` app and choose to use `uWSGI`, which is highly recommended in this case. For our sample project, we have a `uwsgi.ini` file that looks like this:
64
+
The `uwsgi.ini` file is only necessary if you are running a `Python` app and choose to use `uWSGI`, which is highly recommended in this case. For our sample project, we have a `uwsgi.ini` file that looks like this:
65
65
66
66
```
67
67
[uwsgi]
@@ -94,7 +94,7 @@ The last file we need to add is called `Procfile`. It will tell Heroku how to ru
94
94
web: uwsgi uwsgi.ini
95
95
```
96
96
97
-
And this is all the preparation we need in our project for Heroku. Remeber to `push` these changes to your GitHub repository.
97
+
And this is all the preparation we need in our project for Heroku. Remember to `push` these changes to your GitHub repository.
98
98
99
99
## Setting up Heroku for our app
100
100
@@ -134,7 +134,7 @@ Next, select the `Deploy` tab in the app page:
134
134
135
135
<imgsrc="assets/Heroku/select_tab.png"width =500>
136
136
137
-
Then click the `GitHub` option in `Deployment method` section and enter your credentials to connect Heroku with your GitHub. Next, select the repository and branch (select `master` if you haven't created any other branches) where your project is. Once it is done, you can directly deploy your app from GitHub onto Heroku by clicking the button `Deploy Branch`. Heroku will take care of the rest for you from now on. After a few seconds, Heroku shoul finish deploying for you:
137
+
Then click the `GitHub` option in `Deployment method` section and enter your credentials to connect Heroku with your GitHub. Next, select the repository and branch (select `master` if you haven't created any other branches) where your project is. Once it is done, you can directly deploy your app from GitHub onto Heroku by clicking the button `Deploy Branch`. Heroku will take care of the rest for you from now on. After a few seconds, Heroku will finish deploying for you:
0 commit comments