Giter Site home page Giter Site logo

marcridore / jchat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sinwar/jchat

0.0 2.0 0.0 5.29 MB

Real Time Chat app

Dockerfile 0.01% Python 3.89% CSS 0.92% JavaScript 1.57% Makefile 0.77% C 71.20% Shell 0.61% Perl 3.04% M4 0.98% XSLT 0.01% C++ 1.57% HTML 5.40% Roff 0.13% Batchfile 0.02% Lua 0.21% Objective-C 0.41% Ruby 1.23% Tcl 8.04% Smarty 0.02%

jchat's Introduction

JCHAT

Setup

Make sure you are having virtualenv (virtualenv or virtualenvwrapper)

Create a virtualenv and activate then run in terminal

pip install -r requirements.txt
./manage.py migrate
./manage.py loaddata sites
./manage.py runserver

Channels change django in multiprocess model. We don't run everything in a wsgi server. Runserver will work as worker server where django runs actual logic and asgi server will work as interface server that's capapble of serving websockets.

Install asgi server

pip install asgi_redis

Run asgi-server and django runserver

asgi-server
python manage.py runserver

Browse on 127.0.0.1:8000

jchat's People

Contributors

sinwar avatar

Watchers

James Cloos avatar Joseph Marc Antoine Ridore 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.