0

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?

Kal
  • 2,239
  • 6
  • 36
  • 74
  • 1
    Most use composer for this, so you have a composer file in your svn and then someone else can get the composer file and run it and get the zend librarie. – Michal Sep 16 '13 at 13:23
  • 1
    You're asking about Dependency Management. – Mike B Sep 16 '13 at 14:54

2 Answers2

2

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

Marcin
  • 96
  • 9
1

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.

Community
  • 1
  • 1