wifi-tally_Oostendam/documentation/build/migration.html

141 lines
6.2 KiB
HTML

<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" /><meta name="generator" content="Docutils 0.18.1: http://docutils.sourceforge.net/" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Migrating to a new PC &mdash; Oostendam Tallies documentation</title>
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/drawio.css" type="text/css" />
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->
<script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
<script src="_static/doctools.js"></script>
<script src="_static/sphinx_highlight.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="prev" title="Troubleshooting" href="troubleshooting.html" />
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home"> Oostendam Tallies
</a>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div><div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="Navigation menu">
<p class="caption" role="heading"><span class="caption-text">Build:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="overview.html">Tallies Overview</a></li>
<li class="toctree-l1"><a class="reference internal" href="hardware/index.html">Hardware Setup</a></li>
<li class="toctree-l1"><a class="reference internal" href="server/index.html">Server</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Development:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="patches.html">Tally Patches</a></li>
<li class="toctree-l1"><a class="reference internal" href="troubleshooting.html">Troubleshooting</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Migrating:</span></p>
<ul class="current">
<li class="toctree-l1 current"><a class="current reference internal" href="#">Migrating to a new PC</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#run-server">Run server</a></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap"><nav class="wy-nav-top" aria-label="Mobile navigation menu" >
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">Oostendam Tallies</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="Page navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home"></a></li>
<li class="breadcrumb-item active">Migrating to a new PC</li>
<li class="wy-breadcrumbs-aside">
<a href="_sources/migration.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<section id="migrating-to-a-new-pc">
<h1>Migrating to a new PC<a class="headerlink" href="#migrating-to-a-new-pc" title="Permalink to this heading"></a></h1>
<p>When migrating to a new computer, you need to do the following:</p>
<blockquote>
<div><ol class="arabic simple">
<li><p>Configure the new computer to use the <em>same</em> IP address as the previous computer.</p></li>
<li><p>Install <a class="reference external" href="https://nodejs.org/en/download">NodeJS and NPM</a></p></li>
<li><p>Copy the config.json (homedir + .wifi-tally.json) to the same location of the new PC.</p></li>
<li><p>Run the server on the host PC(see below)</p></li>
</ol>
</div></blockquote>
<section id="run-server">
<h2>Run server<a class="headerlink" href="#run-server" title="Permalink to this heading"></a></h2>
<p>To run the server, navigate to <code class="docutils literal notranslate"><span class="pre">wifi-tally/hub</span></code> and execute <code class="docutils literal notranslate"><span class="pre">run_server.sh</span></code></p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>./run_server.sh
<span class="go">&gt; wifi-tally-hub@0.1.0 start</span>
<span class="go">&gt; node server.js --env=production</span>
<span class="go">Using mixer configuration &quot;null&quot;</span>
<span class="go">No video mixer connected.</span>
<span class="go">Listening for Tallies on 0.0.0.0:7411</span>
<span class="go">Web Server available on http://localhost:3000</span>
<span class="gp gp-VirtualEnv">(node:117081)</span> <span class="go">ExperimentalWarning: The Fetch API is an experimental feature. This feature could change at any time</span>
</pre></div>
</div>
</section>
</section>
</div>
</div>
<footer><div class="rst-footer-buttons" role="navigation" aria-label="Footer">
<a href="troubleshooting.html" class="btn btn-neutral float-left" title="Troubleshooting" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left" aria-hidden="true"></span> Previous</a>
</div>
<hr/>
<div role="contentinfo">
<p>&#169; Copyright 2023, Eljakim.</p>
</div>
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
<a href="https://github.com/readthedocs/sphinx_rtd_theme">theme</a>
provided by <a href="https://readthedocs.org">Read the Docs</a>.
</footer>
</div>
</div>
</section>
</div>
<script>
jQuery(function () {
SphinxRtdTheme.Navigation.enable(true);
});
</script>
</body>
</html>