Giter Site home page Giter Site logo

lecongtinh / symfony2_demo_article_feed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from pherserk/symfony2_demo_article_feed

0.0 2.0 0.0 211 KB

A symfony2 application demo showing best practices trought the use of TDD and GIT FLOW

ApacheConf 1.54% PHP 93.67% HTML 4.04% JavaScript 0.75%

symfony2_demo_article_feed's Introduction

symfony2_demo_article_feed

A Symfony project created on August 26, 2016, 7:04 pm.w

Instructions

  • Installation:

    • openssl genrsa -out var/jwt/private.pem -aes256 4096
    • openssl rsa -pubout -in var/jwt/private.pem -out var/jwt/public.pem
    • composer install
    • app/console cache:clear --env=dev
    • app/console cache:clear --env=test
    • app/console docrtine:schema:create --env=test
    • app/console doctrine:schema:create --env=dev
    • app/console assetic:dump --env=dev
    • app/console assetic:dump --env=test
    • app/console assets:install --symlink web
    • app/console debug:container jwt and press 0 (should be the 'lexik_jwt_authentication.jwt_encoder' option)
  • Run test suite:

    • bin/phpunit -c app/
  • Launch the command that triggers the notification to the user with notifications older than 24 hours:

    • app/console notify:quotes --hours=24
  • Try the write article route:

    • app/console doctrine:fixtures:load --env=dev
    • app/console server:start --force
    • point your browser to http://127.0.0.1:8000/app_dev.php/new
    • after being redirect to the login insert these credential: Username1, password1

symfony2_demo_article_feed's People

Contributors

pherserk avatar

Watchers

James Cloos avatar Lê Công Tính 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.