<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Does the config allow for different modes or not?]]></title><description><![CDATA[<p dir="auto">In the main configuration file, there is a section to specify “serveronly” as an option which is supposed to NOT load any client resources. Attempting to start the mirror with npm start doesn’t seem to actually “respect” this option and it constantly complains about client-side components that may not be installed or operational.</p>
<p dir="auto">I’ve also not found anywhere in the configuration where you might be able to specify “clientonly” and indicate the server to connect to. Why is this? Why do I need three different ways of starting the mirror depending on if I’m running a server, a client, or both?</p>
<p dir="auto">What am I missing here?</p>
]]></description><link>https://forum.magicmirror.builders/topic/17707/does-the-config-allow-for-different-modes-or-not</link><generator>RSS for Node</generator><lastBuildDate>Mon, 07 Sep 2026 02:56:08 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/17707.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Apr 2023 12:41:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Does the config allow for different modes or not? on Mon, 03 Apr 2023 13:54:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> digging?</p>
<p dir="auto">right there in the doc<br />
<a href="https://docs.magicmirror.builders/getting-started/installation.html#usage" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.magicmirror.builders/getting-started/installation.html#usage</a></p>
<p dir="auto">except the 1st  bullet point is no longer true</p>
<p dir="auto">works same way today</p>
<p dir="auto">no plans to do all this w a single command</p>
]]></description><link>https://forum.magicmirror.builders/post/108617</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108617</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 03 Apr 2023 13:54:17 GMT</pubDate></item><item><title><![CDATA[Reply to Does the config allow for different modes or not? on Mon, 03 Apr 2023 12:55:59 GMT]]></title><description><![CDATA[<p dir="auto">Makes sense… Are there plans, then, to change the startup to a single command (script) that will read some sort of config file or accept a command-line parameter to control what gets started? I had to do a bit of digging to find the different (correct) commands to use to start the server on a headless machine and the client on a Pi and then put them into the “<a href="http://mm.sh" target="_blank" rel="noopener noreferrer nofollow ugc">mm.sh</a>” startup script so that PM2 could load each of them correctly. This doesn’t seem to match up with what’s documented, either.</p>
]]></description><link>https://forum.magicmirror.builders/post/108616</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108616</guid><dc:creator><![CDATA[ember1205]]></dc:creator><pubDate>Mon, 03 Apr 2023 12:55:59 GMT</pubDate></item><item><title><![CDATA[Reply to Does the config allow for different modes or not? on Mon, 03 Apr 2023 12:55:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/ember1205" aria-label="Profile: ember1205">@<bdi>ember1205</bdi></a> the parm in config.js matches an older startup method, using <a href="http://run-start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">run-start.sh</a>  which my installer script still uses for pi0w systems.</p>
<p dir="auto">setting it to anything, but launching the electron.js (see the start: clause in package.json) skips the script that uses this value, so<br />
it would do nothing</p>
<p dir="auto">I believe the commented out stuff is being removed the next release.</p>
<p dir="auto">why different commands. cause it needs to do different stuff</p>
<p dir="auto">my run-start just executes the different commands under the covers.</p>
<p dir="auto">in client only the config.js is not used. as the client is a browser onto the remote mm</p>
]]></description><link>https://forum.magicmirror.builders/post/108615</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/108615</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 03 Apr 2023 12:55:21 GMT</pubDate></item></channel></rss>