Skip to content

Commit c33603d

Browse files
alopezsanchezhaoqunjiang
authored andcommitted
docs(deployment): add bash highlighting to code blocks (#2841)
1 parent bef5942 commit c33603d

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

docs/guide/deployment.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,13 @@ Create a new Firebase project on your [Firebase console](https://console.firebas
143143
144144
Make sure you have installed [firebase-tools](https://github.com/firebase/firebase-tools) globally:
145145
146-
```
146+
```bash
147147
npm install -g firebase-tools
148148
```
149149
150150
From the root of your project, initialize `firebase` using the command:
151151
152-
```
152+
```bash
153153
firebase init
154154
```
155155
@@ -190,7 +190,7 @@ Run `npm run build` to build your project.
190190

191191
To deploy your project on Firebase Hosting, run the command:
192192

193-
```
193+
```bash
194194
firebase deploy --only hosting
195195
```
196196

@@ -202,7 +202,11 @@ Please refer to the [Firebase Documentation](https://firebase.google.com/docs/ho
202202

203203
### Now
204204

205-
1. Install the Now CLI globally: `npm install -g now`
205+
1. Install the Now CLI globally:
206+
207+
```bash
208+
npm install -g now
209+
```
206210

207211
2. Add a `now.json` file to your project root:
208212

@@ -256,7 +260,7 @@ To deploy with [Surge](http://surge.sh/) the steps are very straightforward.
256260

257261
First you would need to build your project by running `npm run build`. And if you haven't installed Surge's command line tool, you can simply do so by running the command:
258262

259-
```
263+
```bash
260264
npm install --global surge
261265
```
262266

0 commit comments

Comments
 (0)