Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CONTRIBUTING.md #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@

# Environnement de développement

## Outils de développement nécessaires

- PHP
- [composer](https://getcomposer.org)
- NodeJS
- [yarn](https://yarnpkg.com)
- [PostgreSQL](https://www.postgresql.org)

Alternativement, il est possiblement d'utiliser uniquement Docker.

## Installation

composer install --prefer-dist --no-interaction --no-ansi --no-progress --no-suggest
yarn install && yarn build

## Lancement en local

yarn watch

Et dans un autre terminal :

symfony serve -d

## Exécution des tests unitaires

php bin/console doctrine:migrations:migrate -n
php bin/console doctrine:fixtures:load -n
php bin/phpunit

Pour exécuter une seule classe:

php bin/phpunit tests/Controller/ProcessControllerTest.php
Lucas-C marked this conversation as resolved.
Show resolved Hide resolved