Search and replace 'app_name', 'AppName' et 'APP_NAME' with your application name
$ cd etc/vagrant
$ vagrant up
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