Socket
Socket
Sign inDemoInstall

django-sslserver2

Package Overview
Dependencies
1
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-sslserver2

Django package to support both HTTP and HTTPS as runserver command


Maintainers
1

Readme

django-sslserver2

Django package to support both HTTP and HTTPS as runserver command

Usage

  1. Install this package in you Django project
pip install django-sslserver2
  1. Update Django's settings.py
INSTALLED_APPS = (...
    'django_sslserver2',
    ...
)
  1. Execute you Django server:
python manage.py runsslserver --certificate cert.pem --key key.pem

Development

Requirements

  • Python v3.10.0
  • Pipenv

Update requirements.txt

As this project uses Pipenv on development, to keep compatibility with other environments is recommended to generate the corresponding requirements.txt file on every integration.

Run the following command to generate or overwrite the requirements.txt file:

pipenv lock -r > requirements.txt

Releasing

  1. Install twine
pip install twine
  1. Build package distribution
python setup.py sdist bdist_wheel
  1. Upload distribution
twine upload --repository-url https://upload.pypi.org/legacy/ dist/*

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc