This is the GitHub-Pages repository of the international PHP Facebook Group. Site is built with GitHub Pages which use Jekyll.
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
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.
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
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.