Setting up Kadira on a Ubuntu 16.04 Server part 3

Basically in part 1 and 2 you got everything you need to run Kadira. This are just some tips and tricks.

Creating a new user for kadira-ui

  • On the server add the following code
Meteor.startup(() =>{
Accounts.createUser({
username: 'aUsername',
email: 'so@me.email',
password: "aPassword"
})
})
  • Save your file wait for meteor to reload
  • When meteor reloaded and you could login remove the code or meteor will complain

Updating to the business plan

  • Login to the mongodb of kadira
mongo
  • change to the kadira apps database
use kadiraApps
  • Update the App you want to have a business plan
db.apps.update({_id:'TheIdYouCanSeeInTheUrlInKadiraUI'},{$set:{plan:'business'}})
  • Reload your browser and enjoy the business plan