-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME
64 lines (41 loc) · 1.35 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
django-dev-orbited Proxy
=========================================================
This is a very simple proxy server for serving django
orbited and morbidq using Twisted.
When developing a realtime service you need a way to
perform simple development tasks without resorting
to using proper production quality proxy tools.
Requirements
------------
The following packages are needed
- Your django project
- twisted
- orbited (requires twisted itself)
- Django
Overview
--------
It uses Twisted to startup Django, serve your development
files, and then starts orbited and morbidq.
Usage
-----
Put server.py in the directory above your django project.
Put twisted_wsgi.py in the same directory as your project (thats
the same as where you keep settings.py and manage.py).
Change "djangoproject." on line 33 in server.py and line 15 of
twisted_wsgi.py to the name of the folder of
your django project.
Run "twistd -ny server.py"
Ports
-----
Feel free to change the ports, PORT and STOMP_PORT to the port
that your django project and the STOMP server will be served
from respectively.
What is doesn't do
------------------
Give you a framework for developing your own application,
for an excellent examples of django + orbited try looking
at HotDot.
Props
------
Thanks to clemesha and his Hotdot project for inspiring this
and providing the starting point.