Skip to content

lfsc09/kdongs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The project


Development details

Installation

Clone the repository.

git clone git@github.com:lfsc09/kdongs.git
cd kdongs

Install dependencies, creates .env file and generates APP_KEY.

composer clone-setup

Configure git hooks.

# Linux
composer configure-dev-githooks-linux

# Windows
composer configure-dev-githooks-windows

Start the development containers (Postgres, Redis, Mailpit).

docker compose -f docker/compose.local.yaml --env-file .env up -d

Run database migrations and seeders.

php artisan migrate --seed

Maintainance

Useful commands

Bring down development containers.
docker compose -f docker/compose.local.yaml --env-file .env down -v
Check DB
# Monitor connections
php artisan db:monitor --databases=pgsql

# Show database tables and views with counts
php artisan db:show --counts --views
Run tests
# Run all tests
php artisan test

# Run specific test class
php artisan test --filter=TestClassName

# Run specific test method
php artisan test --filter=TestClassName::testMethodName

Refactoring

Run Rector to automatically refactor code.

composer rector

Or on specific file or directory.

composer rector path/to/file.php

Releases

Packages

Contributors

Languages