Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.68 KB

File metadata and controls

46 lines (30 loc) · 1.68 KB

Installation

Return to Summary main page

Requirements

Installation

Move to the desired folder and clone the repository by launching one of the following commands:

git clone git@github.com:lruozzi9/symfony-project.git # for SSH
git clone https://github.com/lruozzi9/symfony-project.git # for HTTPS auth
gh repo clone lruozzi9/symfony-project # if you have the GitHub CLI

Move to the project dir:

cd symfony-project

Install composer dependencies:

composer install --no-dev # For production
composer install # For development

Usage

You can install or develop on this project using both:

  • Local runtime environment: in this setup the webserver and PHP is installed and run directly on your machine as your services (Postgres, MailHog, etc...). This setup might be the most speed efficient, but it's the worst in terms of maintainability and compatibility with other projects in your work environment.
  • Hybrid runtime environment: in this setup the webserver and PHP is installed and run directly on your machine, only services (Postgres, MailHog, etc...) run with Docker containers. This setup is especially useful on macOS where using a Docker runtime results in bad performances due to filesystem sync latency with bind mounted volumes.
  • Docker runtime environment: in this setup both the runtime and services are run on Docker containers.