Skip to content

shaho1090/docker-symfonycli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  1. php-fpm 8.1
  2. nginx the latest version
  3. mysql 8.0
  4. phpmyadmin the latest version
    And after installation you will also have:
    composer 2.5
    symfony cli 5.4

Use this repository to start your development. Just do the following steps in order.

installation:

  1. Clone the repository . you can change directory's name of the project as yours with this command:

    - git clone https://github.com/shaho1090/docker-symfonycli.git ./my_project_name
    
  2. Then change directory:

    - cd my_project_name
    
  3. Make copy of the .env.example file with name .env :

    - copy .env.example .env
    
  4. Make app directory

    - mkdir app
    
  5. Run:

    - docker compose -f docker-compose.dev.yaml up --build -d
    
  6. Run the docker desktop on your os, find the project container and open the app service, open its command-line, then install your new symfony project:

    - symfony new . --version=5.4 --no-git
    

    Wait for installation to complete, then:

  7. Do not forget to change git origin to point your project's repository in the root directory:

    - git remote rm origin
    - git remote add origin <your repository url>
    - git push -u origin main
    

    Also consider the ports in the dev environment:

    app: localhost:8100
    mysql: 4800
    phpmyadmin: localhost:8088
    

Make a great stuff!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published