plenum-bot/util/install_script_fedora.sh
2025-04-13 15:34:52 +02:00

19 lines
653 B
Bash

#!/bin/sh
# The plenum bot works when being run on a ubuntu-server
# instance with these commands ran previously.
# For other distros, please adapt these instructions
# so you have the same packages installed as well.
#
# This script can also be run in order to update
# the bot and its dependencies to the newest version.
# Optionally, if you don't have rust installed, you should do it here:
# https://www.rust-lang.org/tools/install
git pull
sudo dnf update -y
sudo dnf install gcc rust-openssl-devel pandoc pkg-config rust-libsqlite3-sys+buildtime_bindgen-devel.noarch
cargo install --path $HOME/plenum-bot
./update_or_create_systemd_service.sh