PhalconTip
, (*1)
This is the official Phalcon Tip it clone from Phalcon Forum, you can adapt it to your own needs or improve it if you want., (*2)
Please write us if you have any feedback., (*3)
Thanks., (*4)
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., (*5)
Get Started
Requirements
To run this application on your machine, you need at least:, (*6)
Installation
Install composer in a common location or in your project:, (*7)
$ curl -s http://getcomposer.org/installer | php
Create the composer.json file as follows:, (*8)
{
"require": {
"zphalcon/phalcon-tip": "dev-master"
}
}
Run the composer installer:, (*9)
$ php composer.phar install
Then you'll need to create the database and initialize schema:, (*10)
$ echo 'CREATE DATABASE phalcontip CHARSET=utf8 COLLATE=utf8_unicode_ci' | mysql -u root
$ cat schemas/phalcontip.sql | mysql -u root phalcontip
Initial Test Data
You can create fake entries on an empty PhalconTip installation by running:, (*11)
Note: The script random-entries.php must be executed inside the scripts directory, (*12)
$ cd scripts
$ php random-entries.php
Change the owner of app/logs
and app/cache
to whatever user your web server is running as., (*13)
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
)., (*14)
Starting the Beanstalkd client
A PHP client to deliver e-mails must be enabled in background:, (*15)
$ php scripts/send-notifications-consumer.php &
Tests
Phalcontip use Codeception functional and unit tests. Execute:, (*16)
$ vendor/bin/codecept build
$ vendor/bin/codecept run
# OR
$ vendor/bin/codecept run --debug # Detailed output
License
PhalconTip open-sourced software licensed under the [New BSD License][12]. © Phalcon Framework Team and contributors, (*17)