rewrite of the old Scripty in general
should work, officially supported if you're using linux:
only supports linux, will not support any other OS, especially not windows
WSL does not count as linux, use a VM at the very least (although good luck getting GPU passthrough)
sudo pacman -S postgresql redis mold clang base-devel pkgconf
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
git clone https://github.com/scripty-bot/scripty
cd scripty
cargo install sqlx-cli # skip if you already have it
sudo -u postgres createuser scripty -P # will prompt for password
sudo -u postgres createdb -O scripty scripty
cp .env.example .env
nano .env # edit DATABASE_URL to match your URL
cargo sqlx migrate run
double check pg_hba.conf
and postgresql.conf
if you get a connection error
cargo build --release
# or if you want a more optimized build
# takes about 3.5 minutes on a 13700K vs 45s for the normal build
# probably not worth it for casual users
cargo build --profile release-full
cp config.toml.example config.toml
nano config.toml # edit to your liking
# note stt
./target/release/scripty_v2
same as above, but build with --target x86_64-unknown-linux-musl
and execute ./target/x86_64-unknown-linux-musl/release/scripty_v2
on arch also install the musl
package
https://www.youtube.com/watch?v=PivpCKEiQOQ