Rewriting the page

Tim van der Meij 2015-08-04 21:17:52 +02:00
parent b52e74dc1c
commit 3b9e9e2a7d

@ -1,20 +1,23 @@
## MSYS Environment
## Git for Windows environment
The easiest way to setup the development environment for the PDF.js project:
This is the easiest and most recommended way to setup a development environment for PDF.js:
* Node.js (http://nodejs.org)
* Install Node.js from http://nodejs.org.
* Git for Windows (https://github.com/git-for-windows/git/releases); note that Unix line endings must be set:
* Install Git for Windows from https://github.com/git-for-windows/git/releases. Note that Unix line endings must be set:
```> git config --global core.autocrlf input```
## Cygwin Environment
Another way to setup a development environment for PDF.js is to use [Cygwin](http://www.cygwin.com/) which is a collection of tools providing basic Linux API look and feel. Download the latest 'setup.exe' file from Cygwins website and follow the install instructions until you reach the "Select Packages" screen. Here you should at least choose:
## Cygwin environment
Alternatively you can use [Cygwin](http://www.cygwin.com/), a collection of tools providing a basic Linux API look and feel. Download the latest package from the Cygwin website and follow the installation instructions until you reach the "Select Packages" screen. Here you should at least choose:
* [Devel] -> git
* [Devel] -> make
To be able to run font tests, you should also choose:
* [Interpreters] -> python
You should now be able to fork/push your repositories. To build the project you will need to install Node.js from http://nodejs.org.
See also [[Contributing]] and https://github.com/mozilla/pdf.js.
You can now continue to the [[Contributing]] page.