This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Description
Deploying the bot from the source code requires Node.js, Rust, pnpm and cargo. To make deployment on the server easy, we need release tarballs.
The bot is not in the releasable state yet, but as a first step we can make a scripts/dist.sh script which will build the frontend and the bot binary, put the binary together with the bot-data/ directory containing the frontend into a tarball and put a resulting .tar.gz into dist/ directory.
The resulting tarball can already be used to deploy the bot on machines without npm and Rust installed, and the script can be reused later to build release tarballs in CI.