mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
venv pip requirements.txt tips (e.g. for Calibre-Web)
This commit is contained in:
parent
db7d85c50c
commit
64cdb3869c
1 changed files with 4 additions and 3 deletions
|
@ -68,12 +68,13 @@
|
||||||
|
|
||||||
# VIRTUALENV EXAMPLE COMMANDS:
|
# VIRTUALENV EXAMPLE COMMANDS:
|
||||||
# cd /usr/local/calibre-web-py3
|
# cd /usr/local/calibre-web-py3
|
||||||
# source bin/activate
|
# source bin/activate (prepends '/usr/local/calibre-web-py3/bin' to yr PATH)
|
||||||
# python3 -m pip list ('pip list' probably sufficient, likewise below)
|
# python3 -m pip list ('pip list' sufficient *IF* path set above!)
|
||||||
# python3 -m pip freeze > /tmp/requirements.txt
|
# python3 -m pip freeze > /tmp/requirements.txt
|
||||||
# python3 -m pip install -r requirements.txt
|
# python3 -m pip install -r requirements.txt
|
||||||
# deactivate
|
# deactivate
|
||||||
# https://pip.pypa.io/en/latest/user_guide/#requirements-files
|
# https://pip.pypa.io/en/stable/user_guide/#requirements-files
|
||||||
|
# https://pip.pypa.io/en/latest/reference/requirements-file-format/
|
||||||
|
|
||||||
- name: Install /etc/systemd/system/calibre-web.service from template
|
- name: Install /etc/systemd/system/calibre-web.service from template
|
||||||
template:
|
template:
|
||||||
|
|
Loading…
Reference in a new issue