-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.txt
60 lines (32 loc) · 1.18 KB
/
README.txt
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
socketstuff README
This is a testbed project to try out a few asynchronous io concepts in python
using gevent and greenlets
Getting dev going...
----------------------
NOTE: info on env OS X/Windows/Linux below!
Do the following in your virtualenv:
python setup.py develop
That'll get you where you can develop on this while using it.
You'll need to use pip to install the requirements, note that for gevent you'll
need libevent 2 installed and the header files in a location that is findable.
When ready to install this apps dependencies do:
pip install -r requirements.txt
It'll take a bit to install but once it's going you should be able to:
sudo socket-serve-reload development.ini
Note the 'sudo' above is needed for the Flash server to work and so we can use
Flash sockets with socket io.
On Mac OS X (tested on Snow Leopard)
-------------------------------------
Use Mac Ports to install libevent:
sudo port install libevent
Then you'll want to run the following:
export CFLAGS=-I/opt/local/include
Which'll let gevent point to the header files when building.
User Mac Ports to install redis:
sudo port install redis
On Windows
-----------
TODO
On Linux
---------
TODO