20
edits
Dronrathore (talk | contribs) No edit summary |
(hearth -> src) |
||
| Line 9: | Line 9: | ||
= Configuring Fireplace = | = Configuring Fireplace = | ||
== Local Configuration == | == Local Configuration == | ||
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;">/ | 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;">/src/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;">/src/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.<br/> | 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/> | ||
| Line 16: | Line 16: | ||
define('settings_local', [], function() {<br/> return {<br/> api_url: 'http://localhost:5000'<br/> };<br/>}); | define('settings_local', [], function() {<br/> return {<br/> api_url: 'http://localhost:5000'<br/> };<br/>}); | ||
</code> | </code> | ||
== Inferno Configuration == | == Inferno Configuration == | ||
== Travis Configuration == | == Travis Configuration == | ||
edits