django-localhost-run
Käyttöönotto
Järjestelmävaatimukset
- SSH-pääteohjelmisto
- Python 3.8 tai uudempi
- Django 4.2.1 tai uudempi
Asennus
pip install django-localhost-run
Django-projektiasetukset
Lisää Django-projektiasetuksiin:
# projekti/asetukset.py
...
INSTALLED_APPS = [
'localhost_run', # ennen staticfiles-sovellusta
...
'django.contrib.staticfiles', # tarvittaessa
...
]
Käyttö
Paketti periyttää runserver-komennon siten, että:
- vipu
python manage.py runserver --lhrottaa Localhost.run-tunnelin käyttöön - kun vipu on päällä:
- avataan tunneli ennen kehityspalvelimen käynnistymistä
- tulostetaan tunnelin julkinen https-osoite konsoliin
- asetetaan tämä https-osoite myös
LOCALHOST_RUN-ympäristömuuttujaan käynnissä olevan palvelimen sisällä
Metadata
Release files for django-localhost-run 0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_localhost_run-0.1.tar.gz | 4.6 kB | Without provenance | Details for django_localhost_run-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_localhost_run-0.1-py3-none-any.whl | Python 3 | none | any | Details for django_localhost_run-0.1-py3-none-any.whl |
Total release size: 10.3 kB
Release files / django_localhost_run-0.1.tar.gz
| Download URL | django_localhost_run-0.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a4832631ee154da657ba99d2bafc6c9ed590ea67e1c5cc9eb270c8ea47b26f0
|
|
BLAKE2b-256 checksum How to use checksums |
0a8278818a086fac812d682aa01c22fea0a3fd8e362bdd100bbd13865d63eb7f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.0
|
Release files / django_localhost_run-0.1-py3-none-any.whl
| Download URL | django_localhost_run-0.1-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5d921340d534c48ec4522d64a57b1a3dc0dbfb8171a480df9678d46f1323ff4e
|
|
BLAKE2b-256 checksum How to use checksums |
d0218ab2d069d4f07e599bbea2f7a1bd97cc12fdc953602d444610333fdd967e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.12.0
|
Security for django-localhost-run 0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.