Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a147617

Browse files
committed
Update Quick start guide with PhantomJS details
1 parent 09cb765 commit a147617

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/Quickstart.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,23 @@ Installation
99

1010
if you are using ubuntu, try:
1111
```
12-
apt-get install python python-dev python-distribute python-pip libcurl4-openssl-dev libxml2-dev libxslt1-dev python-lxml
12+
apt-get install python python-dev python-distribute python-pip \
13+
libcurl4-openssl-dev libxml2-dev libxslt1-dev python-lxml
1314
```
1415
to install binary packages first.
1516

17+
18+
please install PhantomJS if needed: http://phantomjs.org/build.html
19+
20+
and conduct one of the step below after compiling phantomjs:
21+
```
22+
cp path/to/phantomjs/bin/phantomjs /usr/local/bin
23+
#or
24+
ln -s /path/to/phantomjs /usr/local/bin/
25+
#or
26+
echo 'PATH=/home/user/phantomjs/bin:$PATH' > /home/user/.bashrc
27+
```
28+
1629
**Note:** `pyspider` command is running pyspider in `all` mode, which running components in threads or subprocesses. For production environment, please refer to [Deployment](Deployment).
1730

1831
Your First Script

0 commit comments

Comments
 (0)