From 971b7eda2f9bb7008039354ebf1997a350b5d737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20L=C3=B3pez?= Date: Tue, 30 Oct 2018 00:02:39 +0100 Subject: [PATCH] docs(deployment): add `bash` highlighting to code blocks --- docs/guide/deployment.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/docs/guide/deployment.md b/docs/guide/deployment.md index eda245f380..243722fecb 100644 --- a/docs/guide/deployment.md +++ b/docs/guide/deployment.md @@ -143,13 +143,13 @@ Create a new Firebase project on your [Firebase console](https://console.firebas Make sure you have installed [firebase-tools](https://github.com/firebase/firebase-tools) globally: -``` +```bash npm install -g firebase-tools ``` From the root of your project, initialize `firebase` using the command: -``` +```bash firebase init ``` @@ -190,7 +190,7 @@ Run `npm run build` to build your project. To deploy your project on Firebase Hosting, run the command: -``` +```bash firebase deploy --only hosting ``` @@ -202,7 +202,11 @@ Please refer to the [Firebase Documentation](https://firebase.google.com/docs/ho ### Now -1. Install the Now CLI globally: `npm install -g now` +1. Install the Now CLI globally: + +```bash +npm install -g now +``` 2. Add a `now.json` file to your project root: @@ -256,7 +260,7 @@ To deploy with [Surge](http://surge.sh/) the steps are very straightforward. 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: -``` +```bash npm install --global surge ```