First clone the projet :
git clone [email protected]:Oprax/projet-web.git
Next you need to create a database, we use MySQL, here an example :
CREATE DATABASE bde;
CREATE USER 'bde'@'localhost' IDENTIFIED BY 'password';
GRANT ALL PRIVILEGES ON bde.* TO 'bde'@'localhost';
FLUSH PRIVILEGES;
Then we need to configure laravel with .env
at root of project, you can copy .env.example
to have a template, fill it with your information like database credential and mail sender credential.
We need to install al dependencies with composer update
.
Now we need run migration with php artisan migrate
and you can run a server with php artisan serve
:)
On server run the update.sh
in the $HOME
directory.
Please download Selenum 2.x server
Run it with java :
java -jar selenium-server-standalone-2.53.1.jar
On root directory project (after a composer update
) you can run behat :
vendor/bin/behat
All behat test are on features
directory.
Enjoy !