Skip to content

Commit

Permalink
afup#1442 parameters from env vars code review
Browse files Browse the repository at this point in the history
  • Loading branch information
stakovicz committed Mar 4, 2024
1 parent 08aca92 commit fc08ffb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 7 additions & 0 deletions .env.dist
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,10 @@ PAYBOX_IDENTIFIANT=110647233

BLOG_API_KEY=123456

SMTP_HOST="localhost"
SMTP_PORT="1025"
SMTP_TLS="0"
SMTP_USERNAME=""
SMTP_PASSWORD=""
MAILER_FORCE_RECIPIENTS=""
MAILER_BCC=""
5 changes: 1 addition & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ assets:
watch:
./node_modules/.bin/webpack --progress --colors --watch

app/config/parameters.yml:
cp app/config/parameters.yml.dist-docker app/config/parameters.yml

init: htdocs/uploads
make config
make init-db
Expand All @@ -57,7 +54,7 @@ init-db:
CURRENT_UID=$(CURRENT_UID) $(DOCKER_COMPOSE_BIN) run --rm cliphp make db-migrations
CURRENT_UID=$(CURRENT_UID) $(DOCKER_COMPOSE_BIN) run --rm cliphp make db-seed

config: app/config/parameters.yml
config:
CURRENT_UID=$(CURRENT_UID) $(DOCKER_COMPOSE_BIN) run --no-deps --rm cliphp make vendors
CURRENT_UID=$(CURRENT_UID) $(DOCKER_COMPOSE_BIN) run --no-deps --rm cliphp make assets

Expand Down

0 comments on commit fc08ffb

Please sign in to comment.