This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51c8760
commit db1374f
Showing
3 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
.DEFAULT_GOAL := help | ||
.PHONY: help | ||
help: | ||
@grep -E '(^[a-zA-Z_-]+:.*?##.*$$)|(^##)' ./Makefile | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[34m%-20s\033[0m %s\n", $$1, $$2}' | sed -e 's/\[34m##/[33m/' | ||
|
||
## | ||
## Docker | ||
## ------- | ||
.PHONY: up | ||
up: ## Start the project stack with docker | ||
docker-compose up | ||
|
||
.PHONY: down | ||
down: ## Kill the project stack with docker | ||
docker-compose down | ||
|
||
.PHONY: ps | ||
ps: ## List containers from project | ||
docker-compose ps | ||
|
||
.PHONY: ssh | ||
ssh: ## Access to the php container in interactive mode | ||
docker exec -it --user=dev smartbooster-parameterbundle-php bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# SMARTBOOSTER - Parameter bundle | ||
|
||
## Installation | ||
|
||
### Add the bundle as dependency with Composer | ||
|
||
``` bash | ||
composer require smartbooster/parameter-bundle | ||
``` | ||
|
||
## What's inside ! | ||
|
||
Provide an easy way to administrate your app parameters through each environment with the following tools : | ||
|
||
- A **configuration template to define all parameters** that need to exist in your application with their default value | ||
- A **Command to use on CD to generate missing parameters** | ||
- A **Parameter Entity** to store your parameters in database | ||
- An **Admin** to easily edit the value of your parameters and more data related to them | ||
|
||
## Contributing | ||
|
||
Pull requests are welcome. | ||
|
||
Thanks to [everyone who has contributed](https://github.com/smartbooster/parameter-bundle/contributors) already. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3' | ||
|
||
services: | ||
php: | ||
container_name: smartbooster-parameterbundle-php | ||
image: smartbooster/php-fpm:builder | ||
ports: | ||
- "9000:9000" | ||
volumes: | ||
- ./:/var/www |