For Python App
Configuration options
- Get Python version:
python3 -V
- Python source directory: /usr/lib/python
- CLI:
pip
,python
- Application server: Gunicorn, uWSGI
- Compile tools: pyinstaller, cpython
Deploy a Python application
Refer to: App Runtime tutorials
Manage runtime
- Use uWsgi for Django:
uwsgi --ini /path/django.ini
Troubleshoot
Do I need to use venv?
No, venv is only need if you want to deploy multiply applications at one Python container