Skip to content

Commit 963f6b6

Browse files
committed
Fixs typos
1 parent 4d86d11 commit 963f6b6

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

lib/mix/tasks/upgrade.ex

+13-13
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ defmodule Mix.Tasks.Bootleg.Upgrade do
1818
having first a good understand of how a hot upgrade is performed,
1919
its limitations and steps required.
2020
21-
See nex section for an overview of the hot upgrade process.
21+
See next sections for an overview of the hot upgrade process.
2222
2323
## Hot upgrading a running application
2424
@@ -81,21 +81,21 @@ defmodule Mix.Tasks.Bootleg.Upgrade do
8181
* mix bootleg.build_upgrade
8282
will tranfer the last committed source code of your application
8383
from the development machine to the build directory of
84-
your build machine, for example `~/build/myapp/`, then
84+
your build machine (for example `~/build/myapp/`), then
8585
it will clean the directory from the previous code deleting
86-
every file but the `_buil` directory, it will generate the
86+
every file but the `_build` directory, it will generate the
8787
`appup` file and compile the newest app release.
88-
Please note th before you can use this task for the first time,
88+
89+
Please note that before you can use this task for the first time,
8990
you have to deploy your _first version_ of your app using
9091
`bootleg.build`, `bootleg.deploy` and `bootleg.start`
9192
(or `bootleg.update`);
9293
9394
* mix bootleg.deploy_upgrade
9495
will transfer the tarball of the compiled app from the
9596
build machine to the production directory of the production
96-
machine, e.g. `~/production/myapp/`
97-
98-
then will extract and setting up the needed files;
97+
machine (e.g. `~/production/myapp/`), then it will extract
98+
and setting up the needed files;
9999
100100
* mix bootleg.hot_upgrade
101101
will call `mix distillery <myapp> upgrade <version>` that
@@ -112,15 +112,15 @@ defmodule Mix.Tasks.Bootleg.Upgrade do
112112
Given you have configured the first version of your app with all
113113
the needed and appropriately customized Bootleg configuration files,
114114
you can go through the following steps to release and run the
115-
first version and subsequentely hot upgrade it to the newest
115+
first version, and subsequentely hot upgrade it to the newest
116116
versions:
117117
118-
First version of your app:
118+
First version of your app
119119
120120
# Step 1 - deploy the first version of your app
121121
edit the version number of your in the mix.exs file
122122
(or in the file if you use an external reference),
123-
to the first version, e.g. 0.1.0;
123+
to the first version (e.g. 0.1.0);
124124
125125
# Step 2 - Commit
126126
commit the changes you've made in step 1;
@@ -137,9 +137,9 @@ defmodule Mix.Tasks.Bootleg.Upgrade do
137137
use `mix bootleg.start` to run the app
138138
139139
now your first version is up and running. To upgrade it
140-
to the future version, you have to follow these steps instead.
140+
to the future version, you have to follow these steps instead:
141141
142-
Following versions:
142+
Following versions
143143
144144
# Step 1 - update the version number
145145
e.g. 0.2.0
@@ -167,7 +167,7 @@ defmodule Mix.Tasks.Bootleg.Upgrade do
167167
168168
If you are shure that you want to having the last version restarted,
169169
just delete the folder `~/production/myapp/var`. This folder contains
170-
the file `start_erl.data` that list the version number to start with.
170+
the file `start_erl.data` that lists the version number to start with.
171171
Deleting the `var` folder will automatically create it next time the app
172172
is started, with the last version number.
173173

0 commit comments

Comments
 (0)