Skip to content

Instantly share code, notes, and snippets.

@mortenege
mortenege / django_channels_with_vagrant_apache_supervisor.md
Created March 4, 2018 06:56
Django Channels with Vagrant, Apache and Supervisor

Django Channels with Vagrant, Apache and Supervisor

This post describes how to set up a Django Channels environment in Vagrant using Apache as a reverse proxy. We are picking up from an environment we already configured, see this previous post. This guide will describe multiple steps of the process including:

  • How to install and configure Channels
  • Creating a simple Echo app that utilises websockets
  • Configuring Apache to route our websockets
  • Running Channels in a production-like environment

Step 1