Discord bot to check JLC's component stock Can be adapted for other websites
Built with Rust and Postgres
Discord permalink: https://discord.gg/8D5hJeY8AB
This will be for users with systemd, if you are using another init system, you will need to modify these files
- Install cargo
- Fill out the
start.sh
andjlc.service
files with the necessary information- Move
start.sh
to main directory - Move
jlc.service
to services directory, usually/lib/systemd/service/
- Move
- Run
chmod +x start.sh
- Create a database postgres database and put the URL in
.env
. Fill out the rest of.env
- Contact me for help with setup, I'll make a first time setup later
- Allow
start.sh
to be executed by runningchmod +x start.sh
- Enable the service with
sudo systemctl enable jlc