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

Build release tarballs for deployment #38

@link2xt

Description

@link2xt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions