GithubHelp home page GithubHelp logo

bettyrose / symfonyquickstart Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eddiejaoude/symfonyquickstart

0.0 2.0 0.0 1.82 MB

Symfony 2 QuickStart with Best Practice tools including Behat 3, PHPSpec 2, PHPUnit 4 & Twitter Bootstrap 3

License: MIT License

Erlang 0.21% Perl 0.04% PHP 99.75%

symfonyquickstart's Introduction

--------- master develop feature
Build Build Status --- ---
Coverage Code Coverage --- ---
Analysis Scrutinizer Code Quality --- ---
json deps Dependency Status --- ---
lock deps Dependency Status --- ---

perf-ci-private

Latest deploy (inc. branches) https://symfony-quickstart.herokuapp.com/en/

Note: if you get an error, wait a minute & try again (refresh the page), the Application is probably deploying out or has gone to sleep.

Table of Contents

Screenshots

homepage

login

register

register-fr

Setup

  1. Install dependencies
php composer.phar install
  1. Update parameters
/app/config/parameters_dev.yml

Database parameters are important: host, username, password etc...

Run app

  1. make dev.run

Optionally add a branch / release tag make dev.run branch=feature/story-123

This will run the following:

  • Switch to branch / release tag if requested
  • Install any/all dependencies (composer install)
  • Rebuild the database with fixtures
  • Start WebServer
  1. Then go to http://localhost:8000

Run full test suite in parallel

make test.run

Output

...
30 scenarios (30 passed)
206 steps (206 passed)
0m13.12s (48.85Mb)
...
6 specs
16 examples (16 passed)
1132ms

Generating code coverage report in html format ...
Generating code coverage report in clover format ...
...
OK (4 tests, 3 assertions)

This Rebuild the database & will run the commands below.

Behat command (using config in test/behat.yml)

make symfony.test.bdd

PHPSpec

make symfony.test.spec

PHPUnit

make symfony.test.unit

Rebuild database

Reference

make symfony.dev.rebuild

These commands are only wrappers, you can still use the original commands if you wish.

More information on commands available visit Make CMDs lib



Contributions

Please read on Contribution Guildlines

symfonyquickstart's People

Contributors

eddiejaoude avatar

Watchers

James Cloos 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.