This site will eventually be a community site for publishing and sharing Zend Framework modules.
##Installation
###Main Setup
- Clone this project
git clone git://github.com/zendframework/modules.zendframework.com.git - Run
composer installto initialize your vendors - Import
data/0.sqlinto your database - Create a new application in GitHub
- Main URL and CALLBACK url must be the same without any routing. e.g. http://modules.zendframework.com
- Copy
config/autoload/github.local.php.disttoconfig/autoload/github.local.phpand enter the Id and Secret provided during the application registration on GitHub - Copy
config/autoload/database.local.php.disttoconfig/autoload/database.local.phpand enter your database credentials here - Copy
config/autoload/cache.local.php.disttoconfig/autoload/cache.local.php. It's optional
###Vagrant Setup
- Clone this project:
git clone git://github.com/zendframework/modules.zendframework.com.git - Create a new application in GitHub
- Main URL and CALLBACK url must be the same without any routing. e.g. http://modules.zendframework.com
- Remove the
.distsuffix from the files inconfig/autoloadand edit them according to your own credentials- The database information for vagrant is:
- Username:
modules - Database name:
modules - Password:
modules
- Run
vagrant up(You will need Vagrant) - Add an entry in your hosts (
/etc/hostsorC:\Windows\system32\drivers\etc\hosts):192.168.56.101 modules.zendframework.dev
- Browse to http://modules.zendframework.dev/
To enable development mode:
- Toggle the development mode flag:
php public/index.php development enable - Copy
config/autoload/development.local.php.disttoconfig/autoload/development.local.php - Copy
vendor/zendframework/zend-developer-tools/config/zenddevelopertools.local.php.disttoconfig/autoload/zenddevelopertools.local.php
The master branch of this repository is manually deployed live to modules.zendframework.com by @GeeH.
💡 After deployment, a tag is created, so the latest of the releases represents what is deployed to production.