GithubHelp home page GithubHelp logo

cesarmarinhorj / phalcon-tip Goto Github PK

View Code? Open in Web Editor NEW

This project forked from duythien/phalcon-tip

0.0 2.0 0.0 3.36 MB

The source for code website

Home Page: http://phalcontip.com

License: Apache License 2.0

PHP 55.81% Volt 7.29% HTML 0.33% ApacheConf 0.03% CSS 4.30% JavaScript 32.24%

phalcon-tip's Introduction

PhalconTip

Build Status

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.

Please write us if you have any feedback.

Thanks.

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.

Get Started

Requirements

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

Installation

Install composer in a common location or in your project:

$ curl -s http://getcomposer.org/installer | php

Create the composer.json file as follows:

{
    "require": {
        "zphalcon/phalcon-tip": "dev-master"
    }
}

Run the composer installer:

$ php composer.phar install

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

$ 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:

Note: The script random-entries.php must be executed inside the scripts directory

$ cd scripts
$ php random-entries.php

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).

Starting the Beanstalkd client

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

$ php scripts/send-notifications-consumer.php &

Tests

Phalcontip use Codeception functional and unit tests. Execute:

$ 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. © Phalcon Framework Team and contributors

phalcon-tip's People

Contributors

christianesperar avatar duythien avatar kenjis avatar sergeyklay avatar sidroberts avatar stackphysics avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.