Skip to content

liverbool/forum

 
 

Repository files navigation

Phosphorum 2

Build Status

This is the official Phalcon Forum you can adapt it to your own needs or improve it if you want.

Please write us if you have any feedback.

Thanks.

Requirements

You must clone the repository and then install dependencies using composer:

php composer.phar install

Requirements

Change the owner of app/logs and app/cache to whatever user your web server is running as.

This application uses Github as authentication system, you need a client id and secret id to be set up in the configuration (app/config/config.php):

NOTE

The master branch will always contain the latest stable version. If you wish to check older versions or newer ones currently under development, please switch to the relevant branch.

Required version: >= 1.3.0

Get Started

Requirements

To run this application on your machine, you need at least:

  • PHP >= 5.4.0
  • Apache Web Server with mod rewrite enabled or Nginx Web Server
  • Latest Phalcon Framework extension installed and enabled
  • Beanstalkd server

Then you'll need to create the database and initialize schema:

echo 'CREATE DATABASE forum CHARSET=utf8 COLLATE=utf8_unicode_ci' | mysql -u root
cat schemas/forum.sql | mysql -u root forum

Starting the Beanstalkd client

A PHP client to deliver e-mails must be enabled in background:

php scripts/send-notifications-consumer.php &

Initial Test Data

You can create fake entries on an empty Phosphorum installation by running:

php scripts/random-entries.php

Tests

Phosphorum use Codeception functional tests. Execute:

php codecept.phar run

Detailed output:

php codecept.phar run --debug

License

Phosphorum is open-sourced software licensed under the New BSD License.

Releases

No releases published

Packages

No packages published

Languages

  • PHP 50.9%
  • JavaScript 37.3%
  • Volt 8.5%
  • CSS 3.3%