Coder Social home page Coder Social logo

danidee10 / chatire Goto Github PK

View Code? Open in Web Editor NEW
351.0 351.0 119.0 962 KB

:speech_balloon: Real time Chat application built with Vue, Django, RabbitMQ and uWSGI WebSockets.

Home Page: https://danidee10.github.io/2018/01/01/realtime-django-1.html

JavaScript 43.00% HTML 2.03% Vue 20.07% Python 34.90%
django rabbitmq uwsgi-websocket vue websocket

chatire's People

Contributors

danidee10 avatar ihtiht avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatire's Issues

<label for="gridCheck"> and <input id="toc"> is inconsistent

<label for="gridCheck"> and <input id="toc"> is inconsistent

               <div class="form-check">
                  <input class="form-check-input" type="checkbox" id="toc" required>
                  <label class="form-check-label" for="gridCheck">
                    Accept terms and Conditions
                  </label>
                </div>

Not quite sure if it is a feature or a bug.

npm install cannot complete

Installing npm packages is failing


So, installing packages in the front-end dir is always failing.
It is failing to download the chrome driver from a certain address. 216.239.34.10:443
It seems the IP address is non resposive and cannot download the package. This in-effect is
breaking the entire installation process.

here is the full error message by npm

npm ERR! code 1
npm ERR! path /mnt/c/Users/CHILUFYA/Chatire-1/chatire-frontend/node_modules/chromedriver
npm ERR! command failednpm ERR! command sh /tmp/install-169695bb.sh
npm ERR! Downloading https://chromedriver.storage.googleapis.com/2.34/chromedriver_linux64.zipnpm ERR! Saving to /tmp/chromedriver/chromedriver_linux64.zipnpm ERR! ChromeDriver installation failed Error with http(s) request: Error: connect ETIMEDOUT 216.239.34.10:443        
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/chilusoft/.npm/_logs/2022-09-02T19_30_54_232Z-debug-0.log

the first step ·npm install·

en, I can speak english only a little.
let me to show you the problem i met.
It was go wrong when i follow your readME to use npm install (Win7 x64).
pics like this:
image

celery error

when i run server i get this error ModuleNotFoundError: No module named 'celery'

Building frontend..

Hi @danidee10 , is it possible to have the Vuejs frontend built and used by Django instead of running it on another server.

Missing argument on queue_declare and pika.exceptions.ChannelClosedByBroker with RESOURCE_LOCKED

Hello, i try use your example from tutorial and i have some trouble.

File "websocket.py", line 16, in
result = channel.queue_declare(exclusive=True)
TypeError: queue_declare() missing 1 required positional argument: 'queue'

For solution i use exchange how queue argument.
result = channel.queue_declare(exchange, exclusive=True)
and after this if i open multiple connections i have next error:

Traceback (most recent call last):
File "./websocket.py", line 27, in application
result = channel.queue_declare(exchange, exclusive=True)
File "/home/alexul/.pyenv/versions/gv_new/lib/python3.6/site-packages/pika/adapters/blocking_connection.py", line 2498, in queue_declare
self._flush_output(declare_ok_result.is_ready)
File "/home/alexul/.pyenv/versions/gv_new/lib/python3.6/site-packages/pika/adapters/blocking_connection.py", line 1331, in _flush_output
raise self._closing_reason # pylint: disable=E0702
pika.exceptions.ChannelClosedByBroker: (405, "RESOURCE_LOCKED - cannot obtain exclusive access to locked queue 'eb08e969403a43c' in vhost '/'")

Do you have some thinks about solution this?

pip freeze

$ pip freeze
amqp==2.4.2
Babel==2.6.0
billiard==3.6.0.0
celery==4.3.0
certifi==2018.11.29
chardet==3.0.4
choicesenum==0.5.3
coreapi==2.3.3
coreschema==0.0.4
Django==2.1.5
django-cors-headers==2.5.2
django-filter==2.1.0
django-notifs==2.6.2
django-phonenumber-field==2.2.0
djangorestframework==3.9.1
djangorestframework-jwt==1.11.0
entrypoints==0.3
flake8==3.7.7
gevent==1.4.0
greenlet==0.4.15
idna==2.8
itypes==1.1.0
Jinja2==2.10
kombu==4.5.0
MarkupSafe==1.1.0
mccabe==0.6.1
phonenumbers==8.10.5
pika==1.0.0
Pillow==5.4.1
pycodestyle==2.5.0
pyflakes==2.1.1
PyJWT==1.7.1
pytz==2018.9
remote-pdb==1.3.0
requests==2.21.0
six==1.12.0
uritemplate==3.0.0
urllib3==1.24.1
uWSGI==2.0.18
vine==1.3.0

Logo proposal for Chatire

Hi, i want to contribute to the still-developed Chatire project. I am a graphic designer. I noticed that Chatire has not yet got a logos. I think the best thing you can do is to design a logo. I designed a logo without consulting you. I hope you like it. If you do not like it or want to make changes, I can improve the logo.

de1b3749-d19d-40a7-8e74-89af1b231bd0

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.