Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.04 KB

mhero-messenger

Build Status

Setup development environment

After 'git clone' the repository, do following in your working directory:

Prepare your environment:

  • (Make sure you have NodeJS installed)
  • npm install -g grunt-cli
  • npm install

Run test:

  • cp config/hero-auth-config.sample.json config/hero-auth-config.json
  • (edit config/hero-auth-config.json to fit your config)
  • grunt

Start server:

Run at staging server

  • (Get LiberiaHWR.pem from Carl and copy it to ~/.ssh/ folder.)
  • ssh -i ~/.ssh/LiberiaHWR.pem -l ubuntu liberia-staging.mhero.org
  • cd node/mhero-messenger/
  • git pull
  • (Make sure config/hero-auth-config.json is what you want.)
  • forever restartall (Run the latest revision.)
  • access it at http://liberia-staging.mhero.org:5001/messenger/landing_page.html