Skip to content

Instantly share code, notes, and snippets.

@baio
Last active December 21, 2015 14:09
Show Gist options
  • Save baio/6317821 to your computer and use it in GitHub Desktop.
Save baio/6317821 to your computer and use it in GitHub Desktop.
{
"title": "qlanir.new setup",
"visbility": "public"
}
  1. Clone qlanir.service
  2. Clone qlanir.ushers
  3. Clone qlanir.app
  4. Install and run rabbitmq and elastic search
  5. Setup config variables
    • qlanir.service/QLight - web.config
      • RABBITMQ_URI - rabbitmq uri
      • RABBITMQ_QUEUE - rabbitmq queue
      • DISPATCHER_URI - url to qlanir.ushers.es-service
    • qlanir.service/QLight.Tests - App.config
      • The same variables as for qlanir.service/QLight
    • qlanir.ushers - env\env_stage.txt
      • ES_URI - elastic search url
      • ES_SUBJECT_INDEX - name of elastic serach subject index
      • ES_TAG_INDEX - name of elastic serach tag index
      • RABBITMQ_URI - rabbitmq uri
      • RABBITMQ_QUEUE - rabbitmq queue
      • SERVICE_PORT - port for es-service
  6. Run scripts for sql - QLight\SQL_Scripts\func_views_columns.sql, QLight\SQL_Scripts\defaults.sql
  7. Run qlanir.ushers - node _index.js .\env\env_dev.txt
  8. Run all tests for QLIght.Test - Run All Controller Test
  9. Run qlanir.service\QLIght service 10.Run qlanir.app - node service.js
  10. Open browser on 8001 port (qlanir.app default port)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment