mirror of
https://github.com/iiab/iiab.git
synced 2025-02-12 19:22:24 +00:00
calibre-web/tasks/install.yml: venv context refresher course
This commit is contained in:
parent
64771e66e0
commit
9addfd2564
1 changed files with 8 additions and 0 deletions
|
@ -48,6 +48,14 @@
|
|||
virtualenv: "{{ calibreweb_venv_path }}" # /usr/local/calibre-web-py3
|
||||
virtualenv_site_packages: no
|
||||
virtualenv_command: python3 -m venv {{ calibreweb_venv_path }}
|
||||
# VIRTUALENV EXAMPLE COMMANDS:
|
||||
# cd /usr/local/calibre-web-py3
|
||||
# source bin/activate
|
||||
# python3 -m pip list
|
||||
# python3 -m pip freeze > /tmp/requirements.txt
|
||||
# python3 -m pip install -r requirements.txt
|
||||
# deactivate
|
||||
# https://pip.pypa.io/en/latest/user_guide/#requirements-files
|
||||
|
||||
- name: Install /etc/systemd/system/calibre-web.service from template
|
||||
template:
|
||||
|
|
Loading…
Reference in a new issue