plenum-bot/util/install_script_ubuntu.sh

19 lines
614 B
Bash
Raw Normal View History

#!/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 apt update
sudo apt upgrade -y
sudo apt install gcc libssl-dev pandoc pkg-config libsqlite3-dev
cargo build --release
2025-01-15 14:25:45 +01:00
sudo ./update_or_create_systemd_service.sh