Created
August 5, 2013 01:47
-
-
Save andru255/6152927 to your computer and use it in GitHub Desktop.
En caso se muestre un error al instalar las dependencias del Zend Framework Skeleton aplicar esto:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| To install ZF2 Without doctrine ORM run following commands in your working directory | |
| git clone git://github.com/zendframework/ZendSkeletonApplication.git | |
| php composer.phar self-update | |
| php composer.phar require zendframework/zend-developer-tools:dev-master | |
| cp vendor/zendframework/zend-developer-tools/config/zenddevelopertools.local.php.dist config/autoload/zdt.local.php | |
| chmod 777 data/cache/ | |
| //enable modules in config/application.config.php file | |
| return array( | |
| 'modules' => array( | |
| 'ZendDeveloperTools', | |
| 'Application', | |
| ), | |
| // [...] | |
| ); | |
| To install ZF2 With doctrine run following commands in your working directory | |
| git clone git://github.com/zendframework/ZendSkeletonApplication.git | |
| php composer.phar self-update | |
| php composer.phar require doctrine/doctrine-orm-module:0.7.* | |
| php composer.phar require zendframework/zend-developer-tools:dev-master | |
| cp vendor/zendframework/zend-developer-tools/config/zenddevelopertools.local.php.dist config/autoload/zdt.local.php | |
| chmod 777 data/cache/ | |
| //enable modules in config/application.config.php file | |
| return array( | |
| 'modules' => array( | |
| 'ZendDeveloperTools', | |
| 'DoctrineModule', | |
| 'DoctrineORMModule', | |
| 'Application', | |
| ), | |
| // [...] | |
| ); | |
| Command Line | |
| ./vendor/bin/doctrine-module orm:validate-schema | |
| ./vendor/bin/doctrine-module orm:schema-tool:create |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment