From c41012712d69f325f3ea340c41d101bc7f498573 Mon Sep 17 00:00:00 2001 From: Matthew Oslan Date: Fri, 17 May 2019 00:26:53 -0400 Subject: [PATCH] Add instruction to transpile the code in README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a25e37b..1a247fa 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,11 @@ pi@OSPi:~ $ rm node-v11.4.0-linux-armv6l.tar.gz pi@OSPi:~ $ git clone https://github.com/OpenSprinkler/OpenSprinkler-Weather.git weather ``` -**Step 3:** Install all of the dependencies using the Node Package Manager, npm, from within the weather project directory: +**Step 3:** Install all of the dependencies using the Node Package Manager, npm, from within the weather project directory and transpile the TypeScript files to JavaScript: ``` pi@OSPi:~ $ cd weather pi@OSPi:~/weather $ npm install +pi@OSPi:~/weather $ npm run compile ``` **Step 4:** Configure the weather server to use either the OpenWeatherMap API or the Dark Sky API