From d802c502b00fb938f9fd93e8f84baf208822aea6 Mon Sep 17 00:00:00 2001 From: Nick Gordon Date: Sat, 9 Nov 2013 08:45:22 -0800 Subject: [PATCH] updated README to show initial seeding tasks, and fixed a small typo --- README.md | 5 +++++ src/seed.js | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a1f72f8f94..a68cc38ad3 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ Before starting make sure to have [MongoDB](http://www.mongodb.org/), [NodeJS an `npm install` 1. Create a config file from the example one: `cp config.json.example config.json` +1. Ensure that Mongo is running and seed the database with initial settings by running: +`node .\src\seed.js`. ## Windows Environment Install @@ -62,6 +64,9 @@ Ignore this error and proceed with the following: 'bower install -f' 1. Create a config file from the example one: `copy config.json.example config.json` +1. Ensure that Mongo is running and seed the database with initial settings by r +unning: +`node ./src/seed.js`. # Run HabitRPG diff --git a/src/seed.js b/src/seed.js index 65d3d8b7c9..3acd06e47e 100644 --- a/src/seed.js +++ b/src/seed.js @@ -30,5 +30,5 @@ async.waterfall([ } ],function(err){ if (err) throw err; - console.log("Dont initializing database"); -}) \ No newline at end of file + console.log("Done initializing database"); +})