Kal
Kal

Reputation: 2299

Don't want to store all of Zend in SVN

I want to svn my zend project but not the whole Zend framework but not sure how.

I want to have just these directories in SVN

--application --library --public

but the rest of the framework and files maybe n /var/shared or seomthing.

How do I link my project to the framework so I can just check it out to my /var/www/html directory and it just works?

Upvotes: 0

Views: 107

Answers (2)

Marcin
Marcin

Reputation: 96

Simply add: SetEnv ZF2_PATH "/path/to/zf2/library" in your virtualhost configuration. If you set this enviroment variable, then you dont need store zend libs in your project :P

Upvotes: 2

Logarytm Całkowy
Logarytm Całkowy

Reputation: 388

You may use Composer to manage your project dependencies and add Zend to svn:ignore.

Take a look at: using Composer with ZF. The package zendframework/zendframework is probably what you want.

Upvotes: 1

Related Questions