README.txt
author Geoff Brown <gbrown@mozilla.com>
Mon, 04 Jun 2018 07:47:03 -0600
changeset 353 4dc7cd6e0bf2f999fff0e30f1a2bb9e397e641f7
parent 331 9c46e81fa1243ecf4354a707f56701141c269b7c
permissions -rw-r--r--
Bug 1445301 - Update locations file for sclements; r=me

Server Installation:

* checkout this code locally
* ensure you either have access to 'of-elasticsearch-zlb.webapp.scl3.mozilla.com'
  on MozillaVPN or else 'brasstacks1.dmz.scl3.mozilla.com'
* if you only have access to brasstacks:
  ** use an SSH tunnel like so:
       ssh brasstacks -L 9200:of-elasticsearch-zlb.webapp.scl3.mozilla.com:9200 -N
     (presuming you already have the alias + ProxyCommand set up for brasstacks in your SSH config)
  ** from the repo root, run:
       cp server/orangefactor.conf server/orangefactor_local.conf
  ** edit 'server/orangefactor_local.conf', and set the 'es' option to:
       localhost:9200
* ensure pip is installed:
    https://pip.readthedocs.org/en/stable/installing.html
* activate a virtualenv if desired:
    https://virtualenv.pypa.io/en/latest/index.html
* from the repo root, run:
    pip install -r requirements/prod.txt
* to start the server, run:
    cd server
    ./woo_server.py
* open http://localhost:8080/


To test just the client side:

* checkout this code locally
* open index.html from the local filesystem (the production OrangeFactor server will be used)

For production deployment instructions and an architecture overview, see:
https://wiki.mozilla.org/Auto-tools/Projects/OrangeFactor