Skip to content

xsuntel/php-symfony

Repository files navigation

README

Abstract

This project includes some shell-scripts for Full-Stack developer to develop a web application using Symfony Framework

Environment

  • Dev

    • App : PHP - Symfony Framework
    • Cache : Redis, Memcached
    • Database : PostgreSQL, MySQL
    • Message : RabbitMQ, Redis
    • Server : Nginx, Apache
    • Utility : Git, Docker
    • Tools : PhpStorm, VSCode
  • Prod

    • AWS (Amazon Web Services)
    • GCP (Google Cloud Platform)
    • NCloud (Naver Cloud Platform)

Platform

  • Linux
  • MacOS
  • Windows

Project

.
├── api/
├── app/
│   ├── Symfony Framework
├── diagram/
│   ├── console/
│   ├── containers/
│   └── deploy/
├── scripts/
│   ├── console/
│   ├── containers/
│   └── deploy/
├── tools/
│   ├── ai/
│   ├── ide/
│   └── tutorial.sh
├── .env.base
├── .env.dev
├── .env.prod
├── .gitattributes
├── .gitignore
├── .shellcheckrc
├── LICENSE
└── README.md

Dev Environment

Requirement

  • Update your name and email for Git

    git config --global user.name "{Your Name}"
    git config --global user.email "{Your Email}"
    git config --global init.defaultBranch main
    git config --global credential.helper store
    
    git config --global --list

Work Directory

  • Create a folder (example)

    mkdir -p ~/Documents/Tools
    mkdir -p ~/Documents/Tools/GitHub
    
    cd ~/Documents/Tools/GitHub
  • Download this project

    git clone https://github.com/xsuntel/php-symfony.git symfony
    cd symfony && find ./scripts/ -type f -name "*.sh" -exec chmod 775 {} \;
  • Update default variables : TimeZone / Symfony Releases

    vi env.app
    
    # >>>> Platform
    PLATFORM_TIMEZONE="{Your TimeZone}"
    
    # >>>> Project
    PROJECT_DOMAIN="{Your Web domain}"
    
    # >>>> PHP
    SYMFONY_VERSION="{Stable Release}"
    
  • Create a new webapp : Installing & Setting up the Symfony Framework

    ./tools/tutorial.sh

Deployment

Tools

Prod Environment

Public Cloud

Reference

License

This is available under the MIT License.

About

This project includes some shell-scripts to develop a web application using Symfony Framework

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors