Git Product home page Git Product logo

djangogram's Introduction

Djangogram

A simple chat applicatio built using django, django-chennels, redis and postgresDB

Pre-requiments

  1. Docker-desktop or [Docker-engine + docker-compose-cli]
  2. Internet Connection
  3. Text Editor

Create .env file

DEBUG=False
SECRET_KEY="<Django Secret key>"

Generate Secret Key from here.

visit https://www.cryptool.org/en/cto/openssl and Run Command

openssl rand -bas64 32

How to Run [docker]

docker compose up --build

ondevelopment environment run the build command and this command simultaneously on diffrent terminal

docker compose watch

Informations

Requirement Tool
Protocol SERVER daphne
REVERSE_PROXY nginx
TUNNLING ngrok
database postgres
In Memory Database redis

docker images used

  1. alpine
  2. postgres
  3. redis
  4. nginx
  5. ngrok ** configuere ngrok in ngrok.yml. follow docs
## ngrok.yml

version: "2"
authtoken: <YOUR NGROK AUTH TOKEN>
tunnels:
  httpbin:
    proto: http
    addr: web:8000
    domain: <YOUR STATIC DOMAIN>

chat delevery workflow

Screenshots

djangogram's People

Contributors

tirtharajsinha avatar

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.