Auto-tools/Projects/OrangeFactor: Difference between revisions

→‎Architecture: added section on development and deployment
(→‎Architecture: added section on development and deployment)
Line 54: Line 54:


'''Note:''' The system no longer depends upon flume for writing data into ES.  Instead, we use [https://github.com/aparo/pyes pyes], plus a helper library we've written on top of it, [http://hg.mozilla.org/automation/mozautoeslib/ mozautoeslib].
'''Note:''' The system no longer depends upon flume for writing data into ES.  Instead, we use [https://github.com/aparo/pyes pyes], plus a helper library we've written on top of it, [http://hg.mozilla.org/automation/mozautoeslib/ mozautoeslib].
=== Development & Deployment ===
The Orange Factor web app can be run locally:
python server/woo_server.py 8314
This will start an instance running on port 8314 which can be accessed at http://localhost:8314/.  You will have to have VPN access and the ElasticSearch database hostname defined in your hosts file.
A FastCGI script is also provided for deployment to web servers such as nginx.  In this case, it is recommended that the FastCGI server only the REST API and that the web server itself serve the static files (those found in the html directory).


== Making Oranges Interesting ==
== Making Oranges Interesting ==
Confirmed users
1,927

edits