Riley Housden
e8cb428fa4
Now universally refers to python3 instead of expecting gunicorn to be on PATH. Now installs requirements into system user's environment for use.
7 lines
290 B
Text
Executable file
7 lines
290 B
Text
Executable file
adduser --system --home /otp/radical-api radical-api
|
|
cp -r * /otp/radical-api
|
|
sudo -u radical-api python3 -m pip install -r /otp/radical-api/requirements.txt
|
|
cp radical-api.service /etc/systemd/system
|
|
addgroup --system radical-api
|
|
adduser radical-api radical-api
|
|
systemd enable radical-api
|