From 3f60452408f72c95683f1c0da3e2593e210091dd Mon Sep 17 00:00:00 2001 From: Pieter Colpaert Date: Sun, 2 Aug 2015 15:47:06 +0200 Subject: [PATCH] Update README --- README.md | 11 +++++++++-- script.js | 3 --- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cb141f3..7f15f1d 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,15 @@ Show the real-time data of the Belgian railway company in a simple overview -## install - +After cloning this repo, perform ```bash npm install ``` + +Before running the server, make sure your config.json is set. See the config-example.json for an example. + +Run the server using + +```bash +nodejs script.js +``` diff --git a/script.js b/script.js index 95f6624..619b4fd 100644 --- a/script.js +++ b/script.js @@ -82,9 +82,6 @@ setInterval(function() { } }); - - - }, the_interval); app.get('/servicesAlerts', function (req, res) {