Fireplace/Configuring: Difference between revisions

no edit summary
(Created page with "<div style="border: thin dotted #aaa; padding:5px;"> '''Please do not edit this page unless you are on the Fireplace team. Your feedback and comments are welcomed on the [[Tal...")
 
No edit summary
Line 11: Line 11:
Fireplace's local configuration is saved under <code style="display:inline-block;padding:0px;font:13px 'Open Sans',arial,tahoma;color:#000;background:#f5f5f5;margin:2px 0;padding:0 3px;border:1px solid #ccc;box-shadow:0 0 1px #c3d1ec;border-radius:3px;">/hearth/media/js/settings_local.js</code> or if the file doesn't exists you would find the file as <code style="display:inline-block;padding:0px;font:13px 'Open Sans',arial,tahoma;color:#000;background:#f5f5f5;padding:3px;border:1px solid #ccc;box-shadow:0 0 1px #c3d1ec;border-radius:3px;">/hearth/media/js/settings_local.js.dist</code>, rename this file to <code style="display:inline-block;padding:0px;font:13px 'Open Sans',arial,tahoma;color:#000;background:#f5f5f5;padding:3px;border:1px solid #ccc;box-shadow:0 0 1px #c3d1ec;border-radius:3px;">settings_local.js</code>. The only setting you will find in it is the <code style="display:inline-block;padding:0px;font:13px 'Open Sans',arial,tahoma;color:#000;background:#f5f5f5;padding:3px;border:1px solid #ccc;box-shadow:0 0 1px #c3d1ec;border-radius:3px;">api_url</code>. The <i>api_url</i> is the network host that is queried for fireplace's data i.e. <i>Categories, Apps, Reviews and Ratings</i>
Fireplace's local configuration is saved under <code style="display:inline-block;padding:0px;font:13px 'Open Sans',arial,tahoma;color:#000;background:#f5f5f5;margin:2px 0;padding:0 3px;border:1px solid #ccc;box-shadow:0 0 1px #c3d1ec;border-radius:3px;">/hearth/media/js/settings_local.js</code> or if the file doesn't exists you would find the file as <code style="display:inline-block;padding:0px;font:13px 'Open Sans',arial,tahoma;color:#000;background:#f5f5f5;padding:3px;border:1px solid #ccc;box-shadow:0 0 1px #c3d1ec;border-radius:3px;">/hearth/media/js/settings_local.js.dist</code>, rename this file to <code style="display:inline-block;padding:0px;font:13px 'Open Sans',arial,tahoma;color:#000;background:#f5f5f5;padding:3px;border:1px solid #ccc;box-shadow:0 0 1px #c3d1ec;border-radius:3px;">settings_local.js</code>. The only setting you will find in it is the <code style="display:inline-block;padding:0px;font:13px 'Open Sans',arial,tahoma;color:#000;background:#f5f5f5;padding:3px;border:1px solid #ccc;box-shadow:0 0 1px #c3d1ec;border-radius:3px;">api_url</code>. The <i>api_url</i> is the network host that is queried for fireplace's data i.e. <i>Categories, Apps, Reviews and Ratings</i>
==== Suggested Change ====
==== Suggested Change ====
The default <i>api_url</i> is set to http://chimney.paas.allizom.org, you can change it to point to flue server running on your localhost i.e. http://localhost:5000/ <i>(default flue port is 5000)</i> or to any other server that is capable of sending the data in the prescribed format.
The default <i>api_url</i> is set to http://chimney.paas.allizom.org, you can change it to point to flue server running on your localhost i.e. http://localhost:5000 <i>(default flue port is 5000)</i> or to any other server that is capable of sending the data in the prescribed format.<br/>
<b>Note:</b> Do not leave a trailing slash at the end of the URL.<br/>
<code style="background:#f5f5f5;border-radius:3px;font:13px 'Open Sans',arial,tahoma;color:#000;margin:14px;display:block;box-shadow:0 0 1px #c3d1ec;padding:5px;border:1px solid #ccc;">
define('settings_local', [], function() {<br/>&nbsp;&nbsp;&nbsp;&nbsp;return {<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;api_url: 'http://localhost:5000'<br/>&nbsp;&nbsp;&nbsp;&nbsp;};<br/>});
</code>
== Inferno Configuration ==
== Inferno Configuration ==
== Travis Configuration ==
== Travis Configuration ==
Confirmed users
37

edits