kezadias / wwphp-fb.github.io

Github Page for the international PHP Facebook Group

Home Page:http://wwphp-fb.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

World Wide PHP Facebook Group GitHub Page

Build Status

This is the GitHub-Pages repository of the international PHP Facebook Group. Site is built with GitHub Pages which use Jekyll.

Installation

Local installation of the wwphp-fb.github.io requires Ruby and Jekyll to preview the main site on your localhost. Install Jekyll according to the offical documentation and run the following command to build site:

$ git clone git://github.com/wwphp-fb/wwphp-fb.github.io --recursive
$ bundle install
$ sudo sh -c "curl http://get.sensiolabs.org/melody.phar -o /usr/local/bin/melody && chmod a+x /usr/local/bin/melody"
$ melody run build.php -vvv
$ bundle exec jekyll serve --force_polling

Build

When PHP Resources content changes, build.php file is used to generate an HTML file for updating the FAQ Facebook document in the group and index for searching on Jekyll page.

Build script uses melody - one file Composer scripts.

Jekyll inside Vagrant box

Forward port 4000 (default port) to 4000. Use below provided command to run jekyll:

$ jekyll serve --host 0.0.0.0

Preview of generated static files can than be viewed at http://localhost:4000

Contributing:

Changes on submodules must be updated at this repository.

You have to checkout and push all submodules and commit the commit level changes to this repository

git submodule foreach "(git checkout master; git pull)"

Contributions are welcome, but please open a feature request issue at this repository to grant as a discussion time before.

About

Github Page for the international PHP Facebook Group

http://wwphp-fb.github.io

License:Other


Languages

Language:HTML 39.7%Language:PHP 21.6%Language:CSS 20.8%Language:JavaScript 17.1%Language:Ruby 0.8%