Commit Graph

20 Commits

Author SHA1 Message Date
Khaos
45ea68bbc0 Enable install script to be automated
Added a script parameter to control the systemd service installation step
2024-12-28 20:24:57 +01:00
foxt
208e2f67e3 Install script: Don't bother using sudo if user is running as root
On some systems, sudo isn't present by default, so allow the user to manually elevate the script bypassing the use of sudo.
2024-08-09 10:01:59 +01:00
CooperGerman
a6774dd054 Fix for https://github.com/Donkie/Spoolman/pull/335#discussion_r1578393582 2024-04-26 15:33:48 +02:00
CooperGerman
c7f02f52e5 Fix for https://github.com/Donkie/Spoolman/pull/335#discussion_r1578391362 2024-04-26 15:33:48 +02:00
CooperGerman
047b0b286b Added os detection logging in terminal 2024-04-15 10:28:32 +02:00
CooperGerman
81ef9b115d Merged arch and debian install scripts for a generic one 2024-04-09 09:18:47 +02:00
CooperGerman
2a723da910 Create install_arch.sh 2024-03-21 16:37:03 +01:00
Donkie
c6c75e6271 Prefix ExecStart with bash to circumvent execute permission issue
No matter how many ways we try to add execute permissions to these scripts they always seem to get lost in one way or another. Now for example Moonraker doesn't run the install_debian.sh script, so the chmod never gets run. A .zip file doesn't seem to properly store the execute permission, so this would never work.
2024-02-02 23:14:54 +01:00
Donkie
e77623bab0 Fixed start script 2024-01-25 21:53:48 +01:00
Donkie
1479e13d94 Some script permission fixes 2024-01-25 20:49:16 +01:00
Donkie
52cdb01110 Updated scripts to not use PDM anymore 2024-01-25 20:13:24 +01:00
Donkie
cf4add2753 Updated install script and README with new build setup 2023-12-29 13:02:24 +01:00
Donkie
b59e0e12a5 Install script now installs Spoolman as a system-level service instead of user level 2023-11-25 21:38:18 +01:00
Donkie
26b5545a29 Fixed pip related stuff in install script not working on debian bookworm
It uses this new "externally managed environment" thing where you can't install system/user level pip packages
2023-11-25 21:38:18 +01:00
Donkie
6f241605f4 Run apt-get update in install script 2023-11-25 21:38:18 +01:00
Donkie
dcf9a8f393 Force PDM to use venv as backend in the install script 2023-11-06 22:17:36 +01:00
Donkie
4c38557283 Fixed scripts not being executable 2023-10-23 21:45:42 +02:00
Donkie
6e2f2b08f3 Added systemd path verification to install script 2023-10-22 20:12:23 +02:00
Donkie
292ecbf166 Fixed install script systemd service script path 2023-10-21 23:20:39 +02:00
Donkie
ecec122420 Added standalone installation
Resolves #27
2023-10-21 11:49:00 +02:00