A simple Django Channels implementation
$ virtualenv -p python3 .
$ source bin/activate
(chat-app) $ cd src
(chat-app) $ pip install -r requirements.txt
(chat-app) $ python manage.py createsuperuser
... do the creation
(chat-app) $ python manage.py createsuperuser
... create second super user
-
Download Redis
-
Open & Test Redis:
-
open Terminal
-
redis-cli ping
$ redis-cli ping PONG
-
redis-server
$ redis-server 86750:C 08 Nov 08:17:21.431 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf 86750:M 08 Nov 08:17:21.433 * Increased maximum number of open files to 10032 (it was originally set to 256). _._ _.-``__ ''-._ _.-`` `. `_. ''-._ Redis 3.2.5 (00000000/0) 64 bit .-`` .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.``-._|'` _.-'| Port: 6379 | `-._ `._ / _.-' | PID: 86750 `-._ `-._ `-./ _.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | http://redis.io `-._ `-._`-.__.-'_.-' _.-' |`-._`-._ `-.__.-' _.-'_.-'| | `-._`-._ _.-'_.-' | `-._ `-._`-.__.-'_.-' _.-' `-._ `-.__.-' _.-' `-._ _.-' `-.__.-' 86750:M 08 Nov 08:17:21.434 # Server started, Redis version 3.2.5 86750:M 08 Nov 08:17:21.434 * The server is now ready to accept connections on port 6379
Close Redis with
control
+c
to quit
-