Fix clone command
parent
fab3b90fca
commit
7a197c22ae
@ -1,13 +1,13 @@
|
||||
== Setup the testing environment ==
|
||||
|
||||
The easiest way to setup your testing environment is to follow the instructions posted [https://github.com/mozilla/pdf.js/wiki/Setting-up-pdf.js-Development-Environment-for-Windows here]. You'll need Git, the Mozilla build environment and Node.js if you choose the recommended MSYS environment. After that, execute the following commands in Git Bash:
|
||||
The easiest way to setup your testing environment is to follow the instructions posted [https://github.com/mozilla/pdf.js/wiki/Setting-up-pdf.js-Development-Environment-for-Windows here]. You will need Git, the Mozilla build environment and Node.js if you choose the recommended MSYS environment. After that, execute the following commands in Git Bash:
|
||||
|
||||
cd <website-js-dir>/
|
||||
git clone git://github.com/mozilla/pdf.js.git pdfjs
|
||||
git clone git://github.com/mozilla/pdf.js.git
|
||||
|
||||
=== Start the test server ===
|
||||
|
||||
cd ./pdfjs/
|
||||
cd pdf.js/
|
||||
node make server
|
||||
|
||||
If Node.js complains about not recognizing <tt>python2.7</tt> as an internal or external command ([https://github.com/mozilla/pdf.js/issues/2016#issuecomment-8008140 more information here]), then go to your Python installation directory (in my case, <tt>C:\Python27</tt>), copy the file <tt>python.exe</tt> and rename the copy to <tt>python2.7.exe</tt>. After that, run the command again.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user