This project includes some shell-scripts for Full-Stack developer to develop a web application using Symfony Framework
- Web server
- App : PHP
- Cache : Redis
- Database : PostgreSQL
- Server : Nginx
- 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
- Work Directory
mkdir -p ~/Applications
mkdir -p ~/Applications/PhpStorm
mkdir -p ~/Applications/PhpStorm/github
cd ~/Applications/PhpStorm/github
- Work Directory
mkdir -p ~/Applications
mkdir -p ~/Applications/PhpStorm
mkdir -p ~/Applications/PhpStorm/github
cd ~/Applications/PhpStorm/github
- 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 --get init.defaultBranch
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
vi {PROJECT_PATH}/env.base
# >>>> Platform
PLATFORM_TIMEZONE="Asia/Seoul"
# >>>> App
PHP_VERSION=8.3
PHP_FRAMEWORK_VERSION=7.0.*
NODE_VERSION=20
# >>>> Cache
REDIS_VERSION=6.0
# >>>> Database
POSTGRES_VERSION=14.8
# >>>> Server
NGINX_VERSION=1.18
- Creating Symfony Applications - Installing & Setting up the Symfony Framework
./tutorial/symfony/create.sh
- Linux
- Ubuntu Desktop - Deployment
- Macos
- Desktop - Deployment
- Windows
- Desktop - Deployment
- 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
- Public Cloud
- AWS (Amazon Web Services)
- Elastic Beanstalk - Deployment
- Lightsail - Deployment
- AWS (Amazon Web Services)
- Docker
- Containers - Deployment
app/
| -- Symfony Framework -- |
backup/
diagrams/
app/
cache/
database/
server/
tools/
scripts/
base/
cloud/
docker/
linux/
macos/
windows/
tools/
git/
ide/
tutorial/
symfony/
.env.base
.env.dev
.env.dev.local
.env.prod
.env.prod.local
.gitignore
.symfony.local.yaml
LICENSE
README.md
- Dev/Prod Environment - Wiki
This is available under the MIT License.