Giter Club home page Giter Club logo

symfony6-php8-docker's Introduction

A bastinazo Symfony 6 / PHP 8 docker from Cádiz

Thanks to the current code from repository, we'll get a bunch of dockers with:

  • PHP 8.1
  • Symfony 6
  • MySQL
  • PhpMyAdmin

But, first of all, you'll need:

  • Docker and docker-compose: All the provided infrastructure to work locally is based on containers and docker-compose.
  • Make: In order to help and to unify, we use Make (via Makefile) with the basic docker-compose commands (build, up) but indicating the needed parameters. Performing the command make help you will see all the possibilities:
    
    build                          Build environment
    destroy                        Stop and destroy the containers
    down                           Destroy the containers
    logs                           Show logs from all containers
    ps                             Show started containers
    restart                        Stop the containers and start them again
    shell-php                      Log into the PHP container
    shell-database                 Log into the MySQL Database container
    up                             Builds (if the container didn't exist previously) the image and start the containers.
    
    

Make it simple. The only things you have to execute is:

jrelinque@ws-jrelinque: **make build**
jrelinque@ws-jrelinque: **make up**

In order to log into the Php container and create a new Symfony project you should do this:

jrelinque@ws-jrelinque: make shell-php
php: symfony new .

Maybe you want to connect another git repository to your local installation through an App project. So you have to place into the docker folder and run:

jrelinque@ws-jrelinque: cd app
[email protected]: git clone <your-app-git-repo> .

info: [email protected]

symfony6-php8-docker's People

Stargazers

Tom Olson avatar  avatar

Watchers

Jesús Relinque  avatar Francisco Miguel Rodriguez Alvarez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.