Skip to content

Instantly share code, notes, and snippets.

@joebartels
Last active August 29, 2015 14:03
Show Gist options
  • Save joebartels/97330cdb0d9af99b873f to your computer and use it in GitHub Desktop.
Save joebartels/97330cdb0d9af99b873f to your computer and use it in GitHub Desktop.
setting up symbolo on i3 laptop

all system files are located in C:/dantech

##2 ember applications:

  • admin
    • C:/dantech/admin.symbolo/dist
  • client
    • C:/dantech/client.symbolo/dist

##3 servers

  • Event server - emits live events via websockets or polling - acts as TCP client
    • C:/dantech/server.symbolo.io/event.symbolo
  • API server - handles REST API for admin/clients - acts as TCP server
    • C:/dantech/server.symbolo.io/api.symbolo
  • File server
    • C:/dantech/server.symbolo.io/file.symbolo

##Steps to set up symbolo

  • power router up and connect from laptop to a numbered port on the wireless router(not the Internet port).
  1. start mongoDB (!!already started as a windows service on the Dell i3 laptop!!)
  • C:/dantech/database/bin/mongod.exe
  1. start nginx
  • open command prompt AS ADMINISTRATOR
  • cd C:/dantech/nginx
  • start nginx
  1. start file server
  • open command prompt (not as administrator)
  • cd C:/dantech/server.symbolo.io/file.symbolo
  • node server
  1. start the event server
  • open command prompt (not as administrator)
  • cd C:/dantech/server.symbolo.io/event.symbolo
  • node server
  1. start the API server
  • open command prompt (not as administrator)
  • cd C:/dantech/server.symbolo.io/api.symbolo
  • node server
  1. run admin app
  1. run client app

Known Issues:

  • cookies aren't properly removed. May have to refresh browser if switching between an admin and client.
  • editing a question's settings(question text, choices, timer) while the question is playing may cause inconsistencies.
  • 2 admins logged in using the same symbolo session will conflict.
  • console logging may cause issues in IE9 or less. (console.logs need to be removed from ember app.)
  • the page title on client side app should be updated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment