From 501dd25c75638432a73a056209f5c30c31926153 Mon Sep 17 00:00:00 2001 From: Jonathan Kingston Date: Tue, 24 Apr 2012 15:11:59 +0100 Subject: [PATCH] Update login password and README help --- README.md | 4 +++- server/startup.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b2e57e6..b2a7736 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,6 @@ Then you can clone the code onto your system: Move to that direcory and deploy to your own location: cd britto - meteor deploy [yourlocation].meteor.com \ No newline at end of file + meteor deploy [yourlocation].meteor.com + +You can then visit your applications address and login with username: admin and password: password. \ No newline at end of file diff --git a/server/startup.js b/server/startup.js index 6570c79..c094175 100644 --- a/server/startup.js +++ b/server/startup.js @@ -6,7 +6,7 @@ Meteor.startup(function () { }); if(Users.find().count() === 0) { console.log('Adding in users'); - userId = createUser({username: 'jonathan', password: 'test', name: 'Jonathan Kingston'}); + userId = createUser({username: 'admin', password: 'password', name: 'Your name'}); console.log('Adding in test post'); user = Users.findOne({_id: userId}); makePost({title: 'Hello world', body: 'Cruel cruel world', slug: 'yellow_world', auth: user.apikey});