Skip to content

Commit 3e26b60

Browse files
committed
Updated language from sh to bash
1 parent 88e697e commit 3e26b60

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _Have another more specific idea? You may want to check out our vibrant collecti
1818

1919
Use the Gatsby CLI to create a new site, specifying the default starter.
2020

21-
```sh
21+
```bash
2222
# create a new Gatsby site using the default starter
2323
gatsby new my-default-starter https://github.com/gatsbyjs/gatsby-starter-default
2424
```
@@ -27,7 +27,7 @@ _Have another more specific idea? You may want to check out our vibrant collecti
2727

2828
Navigate into your new site’s directory and start it up.
2929

30-
```sh
30+
```bash
3131
cd my-default-starter/
3232
gatsby develop
3333
```

posts/building-progressive-web-app-react/2017-08-19-Building-Progressive-Web-App-With-React.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ We’re going to build a simple PWA in this article. You can use this code as bo
3131

3232
## Getting Started with PWA
3333
First let’s generate a React application with create-react-app. You can run the following commands to generate the React app.
34-
```sh
34+
```bash
3535
npm install -g create-react-app
3636

3737
create-react-app pwa-app
3838
```
3939
Next we will install React Router:
4040

41-
```sh
41+
```bash
4242
cd pwa-app
4343

4444
npm install --save react-router@3.0.5
@@ -320,7 +320,7 @@ We also need to add these meta tags to inform the browser that our app is a PWA.
320320
## Let’s Deploy
321321
We’re now only missing HTTPS and caching which will be fixed after deploy. Update the __doCache__ flag to __true__ in worker.js file. Next, create a new project in firebase-console with name __Pwa App__. Run the following commands in project directory.
322322

323-
```sh
323+
```bash
324324
npm install -g firebase-tools
325325
firebase login
326326
firebase init
@@ -341,7 +341,7 @@ Make sure your __firebase.json__ looks like this-
341341
}
342342
```
343343
After initialisation build the app and deploy.
344-
```sh
344+
```bash
345345
npm run build
346346
firebase deploy
347347
```

0 commit comments

Comments
 (0)