Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update bootstraping and doc #6

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ SYMFONY_VERSION=
MYSQL_DATABASE=database
MYSQL_USER=user
MYSQL_PASSWORD=password

13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
# Symfony template project

This is a template project for Symfony with Docker and Docker Compose which contains :
- php (`>= 8.1`) with Symfony framework (`6.3`)
- mysql (`8.0.32`)
- A database running with mysql (see `.env` file for credentials)

- A php (`>= 8.2`) service with Symfony framework (with the version specified in `.env` file or latest otherwise)
- An Nginx web server
- A database running with mysql (version `8.0.32`, see `.env` file for credentials)

## Requirements

- Docker engine `> 20.10`
- Docker compose `> 2`
- Docker compose plugin `> 2`

## Installation

Expand All @@ -27,5 +28,5 @@ Run `make start` to start the project (not necessary if you just ran `make insta

To make this stack you own :

- remove `.git` folder and re-initialize your own git repository ;
- remove `/apps/back/` from `.gitignore` ;
- run `rm -rf .git && git init --initial-branch main` to remove `.git` folder and re-initialize your own git repository ;
- rewrite this `README.md` file accordingly to your new project ;
1 change: 1 addition & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ install-dev: ## Install symfony
@echo "Installing Symfony version \"${SYMFONY_VERSION}\""
rm -rf apps/back && mkdir apps/back
docker compose run --rm --no-deps composer-install composer create-project symfony/skeleton\:${SYMFONY_VERSION} back
sed -i '/^\/apps\/back\//d' .gitignore
docker compose stop
make start