tags:

views:

56

answers:

1

Hi,

What is the best way to install Doctrine 2 on Windows 7? I'm running WampServer 2.0.

Thanks

A: 

Step 1: Download
Visit the Doctrine download page. They give you several options - If you're using a source control tool, which is recommended, you can check out the latest Doctrine 2 from github using git or SVN, or you can download the source directly.

Step 2: Configuration
Once you've downloaded Doctrine, there's no installation required - just make sure Doctrine is included either explicitly or in your include path and you can start using it. To use Doctrine in your app, you need to run a few commands when your app starts up to load and configure Doctrine. The Configuration section of the Doctrine documentation walks you through the steps and options for initializing Doctrine in your app.

BenV
Hi, I have tried to get doctrine using tortoisegit but when cloning "git://github.com/doctrine/doctrine2.git doctrine" as stated in the doctrine guide, it returns the following error:fatal: remote error: doctrine/doctrine2.git doctrine is not a valid repository name
Jebb
Just hit the button 'download source' and extract the archive wherever you like, e.g. '..\src\vendor\doctrine'
bouke