Giter Site home page Giter Site logo

solutiondrive / symfonystarter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from monofony/symfonystarter

0.0 5.0 0.0 3.33 MB

Symfony starter using sylius bundles and components with behat, phpspec and api test cases

PHP 69.58% Ruby 2.54% JavaScript 6.92% Shell 5.33% Gherkin 4.63% HTML 11.00%

symfonystarter's Introduction

Monofony

Search and replace 'app_name', 'AppName' et 'APP_NAME' with your application name

Quick Installation with Vagrant

$ cd etc/vagrant
$ vagrant up

Init project

Install php dependencies using composer

$ composer install

Install project :

$ bin/console app:install
$ yarn install && yarn run gulp
$ php bin/console server:start

Behat scenarios

By default Behat uses http://localhost:8080/ as your application base url. If your one is different, you need to create behat.yml files that will overwrite it with your custom url:

imports: ["behat.yml.dist"]

default:
    extensions:
        Behat\MinkExtension:
            base_url: http://my.custom.url

Then run selenium-server-standalone:

$ vendor/bin/selenium-server-standalone -Dwebdriver.chrome.driver=path/to/chromedriver

Then setup your test database:

$ php bin/console doctrine:database:create --env=test
$ php bin/console doctrine:migrations:migrate --env=test

You can run Behat using the following commands:

$ vendor/bin/behat

symfonystarter's People

Contributors

loic425 avatar loicmobizel avatar smildev avatar

Watchers

James Cloos avatar Matthias Alt avatar Tobias Lückel avatar  avatar Julius Noack 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.