Skip to content

danchex/modules.zendframework.com

 
 

Repository files navigation

ZF2 Modules Site Build Status

Introduction

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
  • Copy config/autoload/github.local.php.dist to config/autoload/github.local.php and enter the Id and Secret provided during the application registration on GitHub
  • Copy config/autoload/database.local.php.dist to config/autoload/database.local.php and enter your database credentials here
  • Copy config/autoload/cache.local.php.dist to config/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 in config/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 or C:\Windows\system32\drivers\etc\hosts):
    • 192.168.56.101 modules.zendframework.dev
  • Browse to http://modules.zendframework.dev/

Development Mode

To enable development mode:

  • Toggle the development mode flag: php public/index.php development enable
  • Copy config/autoload/development.local.php.dist to config/autoload/development.local.php
  • Copy vendor/zendframework/zend-developer-tools/config/zenddevelopertools.local.php.dist to config/autoload/zenddevelopertools.local.php

Deployment

The master branch of this repository is manually deployed live to modules.zendframework.com by @GeeH.

About

(Eventual) home for ZF2 module distribution

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 59.0%
  • Puppet 31.2%
  • PHP 3.7%
  • Shell 2.7%
  • CSS 1.5%
  • Perl 1.4%
  • Other 0.5%