You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

install.sh 376B

1234567891011121314
  1. #!/bin/bash
  2. VENV="$(which virtualenv)"
  3. PY3="$(which python3)"
  4. [[ -z "$VENV" ]] || echo "virtualenv not installed!"
  5. [[ -z "$PY3" ]] || echo "python3 not installed!"
  6. virtualenv -p python3 ./
  7. source bin/activate
  8. pip install -r requirements.txt
  9. echo 'Copying hcal.service to /etc/systemd/system'
  10. echo 'Your password might be needed'
  11. sudo cp ./hcal.service /etc/systemd/system/