Giter Site home page Giter Site logo

github_commits's Introduction

Installation

  • With Symfony installed, clone the project onto your local machine with the command:

$ git clone https://github.com/treindle/github_commits.git

  • Navigate into the project folder and run:

$ php app/console server:run

  • In your browser, navigate to:

http://localhost:8000/

  • If Symfony is not installed, navigate to:

http://symfony.com/doc/current/book/installation.html

Compatible with both Mac and PC.

Note: You may run into error message:

"[Symfony\Component\Debug\Exception\ContextErrorException] Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_ti mezone_set() function. In case you used any of those methods and you are still gettin g this warning, you most likely misspelled the timezone identifier. We selected the t imezone 'UTC' for now, but please set date.timezone to select your timezone."

Solution:

  • Open your app/AppKernal.php file and add the code:

    public function init() { date_default_timezone_set( 'America/Los_Angeles' ); // or your corresponding timezone parent::init(); }

** This code should be placed within:

class AppKernel extends Kernel {

Example:

class AppKernel extends Kernel {

// =========Setting timezone========= public function init() { date_default_timezone_set( 'America/Los_Angeles' ); parent::init(); } // =========Setting timezone=========

public function registerBundles()
{

github_commits's People

Contributors

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