radical-api/install
2021-11-30 02:46:27 -05:00

6 lines
340 B
Text
Executable file

addgroup radical-api
adduser --system --home /otp/radical-api --ingroup radical-api radical-api
sudo -u radical-api git clone https://gitdab.com/InValidFire/radical-api.git /otp/radical-api
sudo -u radical-api python3 -m pip install -r /otp/radical-api/requirements.txt
cp radical-api.service /etc/systemd/system
systemd enable radical-api