Skip to content

montio5/symfony-solutions

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony - Start project

Spec

  • Symfony 6.0.7
  • PHP 8.1
  • Apache
  • Mariadb latest
  • Xdebug 3.14
  • Composer latest
  • symfony/apache-pack 1.0.1
  • Git

Xdebug by default is enabled and running. For more information on configuring the IDE please check matthewsetter.com

The application/Symfony code in under the /src folder.
The src folder is mounted into /var/www/html inside the app container.

Set up the project

  1. Clone the project.
  2. Copy .env.sample file to .env file in the main directory.
  3. Inside the main folder, start the docker-compose: docker-compose up -d
  4. Connect to the app container: docker-compose exec app bash
  5. Install composer inside the container composer install
  6. Check http://localhost, you should see the Symfony welcome page.

Commands cheat sheet

Start the docker-compose

docker-compose up -d

To rebuild the container as well:

docker-compose up -d --build

Start the docker-compose

docker-compose down

To remove the dependent orphaned containers:

docker-compose down --remove-orphans

Connect to container

docker-compose exec app bash

Disable the xdebug

you can disable the xdebug in order to improve the performance. read more on carstenwindler.de

bin/xdebug disable

Enable the xdebug

To re-enable the xdebug:

bin/xdebug disable

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Visual Basic 6.0 80.8%
  • PHP 14.8%
  • Twig 3.2%
  • JavaScript 0.7%
  • Dockerfile 0.3%
  • Shell 0.2%