From dd53d0fd4a00fc30a94803a8a0f57f12cdbf2dd0 Mon Sep 17 00:00:00 2001 From: "Grace Copplestone (admin)" <gmpc@mit.edu> Date: Sun, 6 Aug 2017 21:06:26 -0400 Subject: [PATCH] Update README.md --- README.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index af0371a..123e74a 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ You need to first install [node.js](https://docs.npmjs.com/getting-started/insta Install the [http-server](https://www.npmjs.com/package/http-server) npm package. Including '-g' sets the installs the package gloabally, allowing you to use it as a command line tool. -'''npm install http-server -g''' +<code>npm install http-server -g</code> Clone the mods repository. @@ -12,14 +12,15 @@ Use the command line to navigate to the root of the mods repository. Start up a server by typing: -'''http-server''' +<code>http-server</code> -Open a browser tab and go to '127.0.0.1:8080' which is the same as 'http://localhost:8080' to view the server that you just started. +Open a browser tab and go to <code>127.0.0.1:8080</code> which is the same as <code>http://localhost:8080</code> to view the server that you just started. Depending on how to need to use mods you can start local servers located in 'mods/js', for example, if you start from the root of the mods repository: -'''cd js''' -'''node printserver.js''' +<code>cd js</code> + +<code>node printserver.js</code> -- GitLab