Skip to content

serieall/serieall

Repository files navigation

Série-All

Build Status

Prerequisites

# Install PHP and PHP modules
apt-get install php7.4 php7.4-gd php7.4-curl php7.4-mbstring php7.4-xml php7.4-mysql php7.4-bcmath php7.4-apcu-bc composer

# Start database and redis
make start-db
make start-redis

Install

git clone https://github.com/serieall/serieall.git
cd serieall
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate --seed

Check .env file to adjust to your configuration.

Development

To launch the application, you can use :

php artisan serve
php artisan queue:work

Linter

The linter used is php-cs-fixer. You can integrate it with most code editors (check here). If you want to check the linting of the code you can run:

make lint

If you want PHP CS Fixer to fix everything for you, just run:

make lint-fix

Tests

You can run unit tests with this command:

make tests