Giter Club home page Giter Club logo

django-waitress's Introduction

django-waitress

Run a production-ready server from manage.py!

This Django app just provides a management command that serves your Django project using Waitress, a pure-Python, no-dependencies production-ready and Heroku-friendly WSGI server.

NOTE: According to PyPI, this project was originally created by adambrenecki, but it seems to be unmaintained. This fork just makes the few necessary updates to keep it up-to-date.

Usage

# Serve on http://0.0.0.0:7000
python manage.py serve --host 0.0.0.0 --port 7000

# Serve on the Unix socket /var/run/myapp
python manage.py serve --unix /var/run/myapp

# Serve on the host defined by WAITRESS_HOST
# and the port defined by WAITRESS_PORT
# in settings.py
# (defaults to localhost:8000)
python manage.py serve

Alternatives

You could just install Waitress itself, and run the waitress-serve command it provides, pointing to your wsgi.py file; the only thing that this project does is provide a Django management command, and remove the need for a wsgi.py in your project.

License

This project was extracted from CMV's cookiecutter-django

CC0
To the extent possible under law, Commercial Motor Vehicles Pty Ltd have waived all copyright and related or neighboring rights to cookiecutter-django. This work is published from: Australia.

django-waitress's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.