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/symfony-scripts

Repository files navigation

Symfony Scripts

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

  • App : PHP
  • Cache : Redis
  • Database : PostgreSQL
  • Message : RabbitMQ
  • Server : Nginx

Platform

Linux

  • Work Directory
sudo mkdir -p /var/www
sudo mkdir -p /var/www/github
sudo chown -R "${LOGNAME}":"${LOGNAME}" /var/www/github

cd /var/www/github

MacOS

  • Work Directory
mkdir -p ~/Applications
mkdir -p ~/Applications/PhpStorm
mkdir -p ~/Applications/PhpStorm/GitHub

cd ~/Applications/PhpStorm/GitHub

Windows

  • Work Directory
mkdir -p ~/Applications
mkdir -p ~/Applications/PhpStorm
mkdir -p ~/Applications/PhpStorm/GitHub

cd ~/Applications/PhpStorm/GitHub

Project

Requirement

  • Update your name for Git
git config --global user.email "you@examle.com"
git config --global user.name "Your Name"
git config --global init.defaultBranch main
git config --global credential.helper store
git config --global --list
  • Download this project
git clone https://github.com/xsuntel/symfony-scripts.git symfony

cd symfony

find ./scripts/ -type f -name "*.sh" -exec chmod 775 {} \;
  • Check the latest version of Symfony - Releases

    • Update Default variables
vi {PROJECT_PATH}/env.app
./tools/tutorial/create.sh

Deployment

Development

  • Check something in Dev Environment
./tools/ide/check.sh
  • Migrate databases in Dev Environment
./tools/ide/migrate.sh
  • Update some sources and Debugging it in Dev Environment
./tools/ide/update.sh

Production

Directories

    app/
    
        | -- Symfony Framework -- |

    diagrams/
        cloud/
          aws/
        instance/
          app/
          cache/
          database/
          server/
          tools/
        source/
          ...
    scripts/
        base/
        cloud/
        docker/
        linux/
        macos/
        windows/
    tests/
    tools/
        git/
        ide/
        tutorial/
    .env.app
    .env.dev
    .env.dev.local
    .env.prod
    .env.prod.local
    .gitignore
    .symfony.local.yaml
    LICENSE
    README.md

Tutorial

Reference

  • Tools

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