Skip to content

Instantly share code, notes, and snippets.

@risha700
risha700 / DJANGO_TWISTED_HAPROXY.md
Created October 3, 2021 08:25 — forked from sspross/DJANGO_TWISTED_HAPROXY.md
Serving Django and Twisted using HAproxy

Serving Django and Twisted using HAproxy

Why?

Because we wanted to achive the following while developing a webapp using websockets:

Static serving (nginx), Django application (gunicorn) and Websockets service (twisted)

  • on the same IP
@risha700
risha700 / .md
Last active March 13, 2024 23:02

Q1.

// Q1

// Toy class
class Toy {
    constructor(id, name, price, category) {
@risha700
risha700 / corteza_demo.md
Last active March 19, 2025 09:13
cortezaproject docker compose
  • create docker-compose.yml
services:
  db:
    # PostgreSQL Database
    # See https://hub.docker.com/_/postgres for details
    # Support for postgres 13, 14 and 15 is available in the latest version of Corteza
    image: postgres:15 # current 17.x :(