Skip to content

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

License

Notifications You must be signed in to change notification settings

xsuntel/xsun-dev

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

Platform

  • Linux
  • MacOS
  • Windows

Project

    api/
    app/

        | -- PHP - Symfony Framework -- |

    diagram/
        bundles/
        deploy/
    scripts/
        base/
        console/
        containers/
        deploy/
    tools/
        ai/
        git/
        ide/
        tutorial.sh
    .env.base
    .env.dev
    .env.dev.local
    .env.prod
    .env.prod.local
    .gitattributes
    .gitignore
    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 ~/Applications
    mkdir -p ~/Applications/Symfony
    
    cd ~/Applications/Symfony
  • Download the application

    git clone https://github.com/xsuntel/xsun-dev.git DEV
    
    cd DEV && find ./scripts/ -type f -name "*.sh" -exec chmod 775 {} \;
  • Update default variables

    vi env.app
    
    # >>>> Platform
    PLATFORM_TIMEZONE="{Your TimeZone}"
    
    # >>>> Project
    PROJECT_DOMAIN="{Your Web domain}"
    
    # >>>> PHP
    SYMFONY_VERSION="{Stable Release}"

New Project

Tools

Deployment in Dev

Prod Environment

Deployment in Prod

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

Tutorial

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

No packages published