added missing init.lua file to docs

This commit is contained in:
Eljakim Herrewijnen 2024-04-17 00:41:23 +02:00
parent f2c6d115aa
commit e8d5c0693e
10 changed files with 17 additions and 4 deletions

View File

@ -88,4 +88,8 @@ Navigate to ``wifi-tally/tally`` and run ``install_application.sh``.
Transferring out/tally-settings.ini as out/tally-settings.ini Transferring out/tally-settings.ini as out/tally-settings.ini
All done! All done!
.. caution::
Make sure to also upload the ``src/`init.lua`` file!
The tally is ready! The tally is ready!

View File

@ -5,7 +5,7 @@ When migrating to a new computer, you need to do the following:
1. Configure the new computer to use the *same* IP address as the previous computer. 1. Configure the new computer to use the *same* IP address as the previous computer.
2. Install `NodeJS and NPM <https://nodejs.org/en/download>`_ 2. Install `NodeJS and NPM <https://nodejs.org/en/download>`_
3. Copy the config.json (homedir + .wifi-tally.json) to the same location of the new PC. 3. Copy the config.json from the old PC (homedir + .wifi-tally.json) to the same location on the new PC.
4. Run the server on the host PC(see below) 4. Run the server on the host PC(see below)
Run server Run server

View File

@ -163,6 +163,10 @@ Next, navigate to <code class="docutils literal notranslate"><span class="pre">.
<span class="go">All done!</span> <span class="go">All done!</span>
</pre></div> </pre></div>
</div> </div>
<div class="admonition caution">
<p class="admonition-title">Caution</p>
<p>Make sure to also upload the <code class="docutils literal notranslate"><span class="pre">src/`init.lua</span></code> file!</p>
</div>
<p>The tally is ready!</p> <p>The tally is ready!</p>
</section> </section>
</section> </section>

View File

@ -86,7 +86,7 @@
<div><ol class="arabic simple"> <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>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>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>Copy the config.json from the old PC (homedir + .wifi-tally.json) to the same location on the new PC.</p></li>
<li><p>Run the server on the host PC(see below)</p></li> <li><p>Run the server on the host PC(see below)</p></li>
</ol> </ol>
</div></blockquote> </div></blockquote>

File diff suppressed because one or more lines are too long

View File

@ -88,4 +88,8 @@ Navigate to ``wifi-tally/tally`` and run ``install_application.sh``.
Transferring out/tally-settings.ini as out/tally-settings.ini Transferring out/tally-settings.ini as out/tally-settings.ini
All done! All done!
.. caution::
Make sure to also upload the ``src/`init.lua`` file!
The tally is ready! The tally is ready!

View File

@ -1,2 +1,3 @@
#! /bin/bash #! /bin/bash
nodemcu-uploader upload out/* CURR_DIR=$(pwd)
cd ${CURR_DIR}/out && nodemcu-uploader upload *