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: docs/guide/deploy.md
+18-16
Original file line number
Diff line number
Diff line change
@@ -137,33 +137,35 @@ You can also deploy to a [custom domain](http://surge.sh/help/adding-a-custom-do
137
137
138
138
1. First install [Heroku CLI](https://devcenter.heroku.com/articles/heroku-cli).
139
139
140
-
2. Heroku Account – [sign up here](https://signup.heroku.com).
140
+
2. Create a Heroku account [here](https://signup.heroku.com).
141
141
142
-
3. Run heroku login in your terminal or command prompt and fill in your Heroku credentials.
142
+
3. Run `heroku login` and fill in your Heroku credentials:
143
+
144
+
``` bash
145
+
heroku login
146
+
```
143
147
144
-
``` bash
145
-
heroku login
146
-
```
148
+
4. Create a file called `static.json` in the root of your project with the content below:
147
149
148
-
4. Create a file called `static.json` in the root of your project with the content below. This is the configuration of your site. see more at [heroku-buildpack-static](https://github.com/heroku/heroku-buildpack-static).
150
+
`static.json`:
151
+
```json
152
+
{
153
+
"root": "./docs/.vuepress/dist"
154
+
}
155
+
```
149
156
150
-
`static.json`:
151
-
```json
152
-
{
153
-
"root": "./docs/.vuepress/dist"
154
-
}
155
-
```
157
+
This is the configuration of your site. see more at [heroku-buildpack-static](https://github.com/heroku/heroku-buildpack-static).
156
158
157
-
5. Set up your heroku git remote
159
+
5. Set up your Heroku git remote:
158
160
159
161
``` bash
160
162
# version change
161
163
git init
162
164
git add .
163
165
git commit -m "My site ready for deployment."
164
166
165
-
# created app heroku (personalize name for the app)
0 commit comments