X-Git-Url: https://git.jacobcasper.com/?p=mercuryms.git;a=blobdiff_plain;f=setup.sh;h=89f9be059dc88f6f10281b73fe37efc6db4ac3c8;hp=999d449d029ed1d1aa106b7f9015d191612583e1;hb=58c787a47ddfcd526efed27ec54230154d7b7640;hpb=8ef3a2be63fa62015b02a2efe413689094fa1c41 diff --git a/setup.sh b/setup.sh index 999d449..89f9be0 100755 --- a/setup.sh +++ b/setup.sh @@ -7,5 +7,10 @@ chown mercuryms:mercuryms /usr/share/mercuryms chmod 700 /usr/share/mercuryms sqlite3 /usr/share/mercuryms/mercuryms.sqlite "$(cat migrations/*)" chown mercuryms:mercuryms /usr/share/mercuryms/mercuryms.sqlite +python3 -m venv mercuryms . \ + && source bin/activate \ + && bin/pip install -r requirements.txt \ + && deactivate cp mercuryms.service /etc/systemd/system/ cp mercuryms-listen* /etc/systemd/system/ +cp mercuryms-send* /etc/systemd/system/