Skip to content

Commit 14eb94d

Browse files
Updated readme for websockets-server
Change-Id: Ib4d8073e9b76b813fa2e533236f8dc7b04c4895a
1 parent 720471f commit 14eb94d

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

websockets-server/README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,28 @@
55
install python from brew
66

77
```bash
8-
brew install python
8+
brew install python pkg-config libffi
9+
```
10+
11+
Install virtualenv
12+
13+
```bash
14+
pip install virualenv
915
```
1016

1117
create virtualenv in `python-server` drectory :
1218

1319
```bash
14-
virtualenv --python /usr/local/Cellar/python/2.7.8_1/bin/python2.7 --no-site-packages venv
20+
cd websockets-server
21+
virtualenv --no-site-packages venv
1522
```
1623

17-
## Install
24+
## Install and run
1825

1926
run virutalenv:
2027

2128
```bash
29+
cd websockets-server
2230
. ./venv/bin/activate
2331
```
2432

@@ -29,14 +37,6 @@ cd server
2937
python setup.py install
3038
```
3139

32-
## Run
33-
34-
run virutalenv:
35-
36-
```bash
37-
. ./venv/bin/activate
38-
```
39-
4040
run server:
4141

4242
```bash

0 commit comments

Comments
 (0)