Skip to content

panki3a/symphony-blog-demo

Repository files navigation

Pixel Blog

Prerequisites

Before running the project, ensure you have the following installed:

Docker

Docker Compose

Git

Installation

To quickly get started, clone this project and run the following command: Clone the repository:

git clone https://github.com/yourusername/pixel-blog.git

Bulding the project

Navigate to the project directory:

cd pixel-blog

Then build and start the Docker containers:

docker-compose up --build

Then open your browser and navigate to http://localhost:8080/

Automatic setup

Once all containers are started, everything will automatically initiate through the docker-fpm-entrypoint.sh script. This script handles the installation of dependencies, execution of migrations, seeding of the database, and creation of .env from .env.example.

composer install
bin/console doctrine:migrations:migrate --no-interaction
bin/console doctrine:fixtures:load --no-interaction

Running tools for code quality in docker container

Enter the Docker container:

docker exec -it pixel-blog-php-fpm bash

Run every tool in the container:

PHP Code Sniffer

composer phpcs

PHP Code Sniffer Fixer

composer phpcsfix

PHPStan

composer phpstan

Commented Code

composer commented-code

Var Dump Check

composer var-dump-check

Twig

composer twig

PHPUnit

composer phpunit

Stopping the project

To stop the Docker containers, press Ctrl + C in the terminal where the containers are running.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published