2021-11-30 07:46:27 +00:00
|
|
|
addgroup radical-api
|
2021-11-30 07:41:21 +00:00
|
|
|
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
|
2021-11-30 08:11:43 +00:00
|
|
|
sudo -u radical-api python3.9 -m pip install -r /otp/radical-api/requirements.txt
|
2021-11-30 07:13:39 +00:00
|
|
|
cp radical-api.service /etc/systemd/system
|
2021-11-30 06:42:44 +00:00
|
|
|
systemd enable radical-api
|