How to create instance (App deployment) - sosik/registries GitHub Wiki

Simplified Procedure:

  1. Clone core app to 'app' folder
  2. Clone schema defs to 'app/data'
  3. copy and edit pm2.json (directory , name)
  4. copy and edit local-config.js (database,port)
  5. init db (node util/init/init-mongo.js)
  6. modify apache site-enabled ( add new VHOST, new port)
  7. reload apache cfg. service apache2 reload