Nodofi CloudDB — Windows
=========================

This is Nodofi CloudDB's own source code, plus scripts to run it and (optionally) start it automatically.
It needs Node.js 18 or later already installed — see INSTALL.md if you don't have it yet (it's a normal
installer from nodejs.org, a couple of clicks).

The first time either script below runs, it creates a ".env" file from ".env.example" in this folder — its
defaults (Nodofi's own public relay, a worker name of "MyCloudDB", a local database file) work as-is, so
there's nothing you have to edit before it runs. Open ".env" if you want your own worker name (needed if
you'll run more than one of these, or point at a different relay) or to switch to a real MariaDB/MySQL
server instead of the default local file.

To start it automatically whenever you sign in (recommended):
    Double-click install-startup.bat
    (The first time, this also installs the app's own dependencies — needs an internet connection and takes
    a minute. If it says it needs administrator rights, right-click it and choose "Run as administrator",
    then try again — this is usually not needed.)

To just try it out, running in this window only (closing the window stops it):
    Double-click run.bat

Then open http://localhost:8801 in your browser to see connection status and recent activity.

To stop the automatic startup later:
    Double-click uninstall-startup.bat
    Your data (.env, the data\ folder) is kept — delete this folder yourself if you want it gone.
