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 install
to initialize your vendors - Import
data/0.sql
into 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.dist
toconfig/autoload/github.local.php
and enter the Id and Secret provided during the application registration on GitHub - Copy
config/autoload/database.local.php.dist
toconfig/autoload/database.local.php
and enter your database credentials here - Copy
config/autoload/cache.local.php.dist
toconfig/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
.dist
suffix from the files inconfig/autoload
and 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/hosts
orC:\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.dist
toconfig/autoload/development.local.php
- Copy
vendor/zendframework/zend-developer-tools/config/zenddevelopertools.local.php.dist
toconfig/autoload/zenddevelopertools.local.php
The master branch of this repository is manually deployed live to modules.zendframework.com by @GeeH.