- Install nvm (assumes homebrew is installed)
brew install nvm
- Create nvm directory:
Your application packages will be tracked in the files pyproject.toml
and poetry.lock
in your project.
(instead of requirements.txt
)
See also: poetry docs.
(Once per desktop)
server { | |
listen 443 ssl http2; | |
#listen [::]:443 ssl http2; | |
server_name app.foo.com; | |
ssl_certificate /etc/nginx/ssl/certificate.pem; | |
ssl_certificate_key /etc/nginx/ssl/key.pem; | |
location / { | |
proxy_pass http://127.0.0.1:8000/; |
Pipenv is a single tool to manage the python version, virtualenv, and package management for a project.
Pipfile
and Pipfile.lock
files.
(instead of requirements.txt
)# Aliases to create and activate python3 venv per project. | |
# | |
# Copy/paste in your personal zshrc/bashrc, or include it using: source ~/.venv-aliases.sh | |
# Prevent pip from installing packages globally | |
export PIP_REQUIRE_VIRTUALENV=true | |
# Aliases: | |
alias venv-create=' |