Skip to content

Jedisjeux/Jedisjeux

Repository files navigation

Jedisjeux is a PHP boardgame website, based on Symfony Framework and Sylius.

Documentation

Documentation is available at docs.jedisjeux.net.

Installation

You need composer to install PHP packages and yarn to install JS packages.

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

Then open http://localhost:8000/ in your web browser to enjoy Jedisjeux website in a development environment.

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:

$ bin/selenium-server-standalone -Dwebdriver.chrome.driver=$PWD/bin/chromedriver

Then setup your test database:

$ php bin/console doctrine:database:create --env=test
$ php bin/console doctrine:schema:create --env=test
$ php bin/console cache:clear --no-warmup --env=test
$ php bin/console doctrine:phpcr:repository:init --env=test

You can run Behat using the following commands:

$ vendor/bin/behat

Bug Tracking

If you want to report a bug or suggest an idea, please use GitHub issues.

MIT License

Jedisjeux is completely free and released under the MIT License.

Authors

Jedisjeux was originally created by Loïc Frémont. See the list of contributors from our community.