radical-api/install

5 lines
303 B
Text
Executable file

adduser --system --home /otp/radical-api --in-group radical-api radical-api
sudo -u radical-api git clone https://gitdab.com/InValidFire/radical-api.git
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