Confirmed users
1,927
edits
No edit summary |
|||
Line 348: | Line 348: | ||
# Setup a local instance of ElasticSearch for development purposes. (You can optionally populate it with test data, see [http://hg.mozilla.org/automation/autolog/file/tip/README-testdata.txt README-testdata.txt], but this is broken as of 2012-11-28). By default, this will operate on http://localhost:9200/ | # Setup a local instance of ElasticSearch for development purposes. (You can optionally populate it with test data, see [http://hg.mozilla.org/automation/autolog/file/tip/README-testdata.txt README-testdata.txt], but this is broken as of 2012-11-28). By default, this will operate on http://localhost:9200/ | ||
# Edit autolog_server.conf, changing both es_server and bz_cache_server in [autolog] to localhost:9200 | # Edit autolog_server.conf, changing both es_server and bz_cache_server in [autolog] to localhost:9200 | ||
# Edit js/Config.js, changing autologServer attribute of the Config object to "http://localhost:8051/". You may also need to add extra IDs to the OSNames. | |||
# Start the autolog server in the autolog repo, using <code>python autolog_server.py .</code> (yes, include the dot at the end) | # Start the autolog server in the autolog repo, using <code>python autolog_server.py .</code> (yes, include the dot at the end) | ||
# Host the autolog repo using a webserver; I use Apache but presumably nginx or anything else would work equally well. Alternatively, you can load it locally with a file URL. | # Host the autolog repo using a webserver; I use Apache but presumably nginx or anything else would work equally well. Alternatively, you can load it locally with a file URL. |