Skip to main content

Auto deploy Django project

Install:

pip install auto-uwsgi

Using

>>> from auto_uwsgi import Deployment
>>> deploy = Deployment(
    '<username>',
    '<path to project>',
    '<path to virtual environment>',
    '<domain name or ip>'
)
>>> deploy.start()

Change setting

STATIC_URL = 'static/'
STATIC_ROOT = os.path.join(BASE_DIR, 'static')

Example

>>> from auto_uwsgi import Deployment
>>> deploy = Deployment(
    'nghiem',
    '/home/nghiem/auto-uwsgi/tests/projecttest',
    '/home/nghiem/auto-uwsgi/tests/venv',
    '192.168.0.105'
)
>>> deploy.start()

Metadata

Release files for auto-uwsgi 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auto-uwsgi 1.0.1
File Size Uploaded
auto-uwsgi-1.0.1.tar.gz 4.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for auto-uwsgi 1.0.1
File Interpreter ABI Platform
auto_uwsgi-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 8.5 kB

Release files / auto-uwsgi-1.0.1.tar.gz

Download URL auto-uwsgi-1.0.1.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9f665962836a445a42b9fe1916253a71a955b4b4ce83073d6af468511ce2d8f2
BLAKE2b-256 checksum
How to use checksums
a58e9047bc474b18abe4762a4fd5de918e008e7aa0e451b239c987fdf9b39fcc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

Release files / auto_uwsgi-1.0.1-py3-none-any.whl

Download URL auto_uwsgi-1.0.1-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a8c8ca5eacc89260099713497566c3ae08d3f6526923c4f2de00c809e2b43b24
BLAKE2b-256 checksum
How to use checksums
4ba751808a7a433a167c589e637f430a735a60a9018db04abfa73f9f4b542361
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.22.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/18.0.1 rfc3986/2.0.0 colorama/0.4.3 CPython/3.8.10

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page