Skip to content

Commit

Permalink
Improved English
Browse files Browse the repository at this point in the history
Personally, I'd delete line 99 "awsome code".

BTW I've skipped most of the web stuff since I don't enjoy web programming.

Also, if I have time, I hope to return to the earlier tour pages since I didn't edit those when I read them.
  • Loading branch information
mark-summerfield committed Jan 23, 2020
1 parent 9dbd2b5 commit ed8b900
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions vibed/deploy-on-heroku.md
Expand Up @@ -9,8 +9,8 @@
### 1 : Setup the app

Heroku needs to know how to communicate with a deployed application.
Hence a global `PORT` environment variable is provided which needs to be injected into an application and
it should bind and listen to this port.
Hence a global `PORT` environment variable is provided which needs to be injected into an application
that should bind and listen to this port.
For development a default port (here __8080__) should be set:

```d
Expand All @@ -23,7 +23,7 @@ shared static this() {
}
```

Additionally create a `Procfile`, which is a text file in the root directory of the application, which explicitly declares what command
Additionally create a `Procfile`, which is a text file in the application's root directory, which explicitly declares what command
should be executed to start the app.

The `Procfile` in the example app looks like this:
Expand All @@ -34,7 +34,7 @@ web: ./hello-world

### 2 : Prepare the app

Before going further login to the Heroku Command Line by using the [Heroku Toolbelt](https://toolbelt.heroku.com/standalone).
Before going further, login to the Heroku Command Line by using the [Heroku Toolbelt](https://toolbelt.heroku.com/standalone).

This provides access to the Heroku Command-Line Interface (CLI), which can be used for managing and scaling your applications and add-ons.

Expand All @@ -47,7 +47,7 @@ $ heroku login
### 3 : Create the app

Go to the [heroku dashboard](https://dashboard.heroku.com) and create a new app.
After doing this memorize the name of the created app, it will be useful later.
After doing this record the name of the created app, since it will be useful later.

Or use the Command-Line like this:

Expand Down Expand Up @@ -89,10 +89,10 @@ For deployement the [Vibe.d buildpack](https://github.com/MartinNowak/heroku-bui
$ heroku buildpacks:set https://github.com/MartinNowak/heroku-buildpack-d
```
By default the buildpack uses the latest `dmd` compiler.
It is possible to use GDC or LDC and to choose a specific compiler versions by adding a `.d-compiler` file to your project.
It is possible to use GDC or LDC and to choose a specific compiler version by adding a `.d-compiler` file to your project.

Use `dmd`, `ldc`, or `gdc` to select the latest or `dmd-2.0xxx`, `ldc-1.0xxx`, or `gdc-4.9xxx` to
select a specific version of a compiler.
select a specific compiler version.

### Deploy the code

Expand Down Expand Up @@ -134,7 +134,7 @@ To git@heroku.com:rocky-hamlet-67506.git
* [new branch] master -> master
```

Open the app in the browser with the following command
Open the app in the browser with the following command:

```
$ heroku open
Expand Down Expand Up @@ -174,9 +174,9 @@ providing a single channel for all of the events.
$ heroku logs --tail
```

## More informations
## More information

After deploying the app to Heroku you can make it more awesome by using add-ons. For example :
After deploying the app to Heroku you can make it more awesome by using add-ons. For example:

- [Postgresql](https://elements.heroku.com/addons/heroku-postgresql)
- [MongoDb](https://elements.heroku.com/addons/mongohq)
Expand Down

0 comments on commit ed8b900

Please sign in to comment.