Skip to content

xsuntel/symfony-scripts

Repository files navigation

Symfony Scripts

Abstract

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

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

Dev Environment

Platform

Linux

  • Work Directory
[user@localhost] sudo mkdir -p /var/www
[user@localhost] sudo mkdir -p /var/www/github
[user@localhost] sudo chown -R "${LOGNAME}":"${LOGNAME}" /var/www/github
[user@localhost] cd /var/www/github

MacOS

  • Work Directory
[user@localhost] mkdir -p ~/Applications
[user@localhost] mkdir -p ~/Applications/PhpStorm
[user@localhost] mkdir -p ~/Applications/PhpStorm/github
[user@localhost] ~/Applications/PhpStorm/github

Windows

  • Work Directory
[user@localhost] mkdir -p ~/Applications
[user@localhost] mkdir -p ~/Applications/PhpStorm
[user@localhost] mkdir -p ~/Applications/PhpStorm/github
[user@localhost] ~/Applications/PhpStorm/github

Project

  1. Download this project
[user@localhost] git clone https://github.com/xsuntel/symfony-scripts.git symfony

[user@localhost] cd symfony
[user@localhost] find ./scripts/ -type f -name "*.sh" -exec chmod 775 {} \;
  1. Check the latest version of Symfony - Releases
[user@localhost] vi ./env
# >>>> PHP
PHP_FRAMEWORK_VERSION=7.0.*
  1. Creating Symfony Applications - Installing & Setting up the Symfony Framework
[user@localhost] ./tutorial/symfony/create.sh

App

    app/
        assets/
        bin/
        config/
        public/
        src/
        templates/
        translations/
        tests/
        var/
        vendor/
        .env
        composer.json
        package.json
    diagrams/
    scripts/
        base/
        cloud/
        docker/
        linux/
        macos/
        windows/
    tools/
        git/
        ide/
        webbrowser/
    tutorial/
        symfony/
    .env
    .env.dev
    .env.dev.local
    .env.prod
    .env.prod.local
    .gitignore
    .symfony.local.yaml
    LICENSE
    README.md

Diagrams

Scripts

Deployment

[user@localhost] ./scripts/macos/desktop/deploy.sh

Development

  • Check something in Dev Environment
[user@localhost] ./tools/ide/phpstorm/check.sh
  • Migrate databases in Dev Environment
[user@localhost] ./tools/ide/phpstorm/migrate.sh
  • Test some sources in Dev Environment
[user@localhost] ./tools/ide/phpstorm/test.sh
  • Troubleshoot issues and Debugging it in Dev Environment
[user@localhost] ./tools/ide/phpstorm/update.sh

Tools

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

Languages