Skip to content

Commit

Permalink
rename to .env.template
Browse files Browse the repository at this point in the history
  • Loading branch information
woutervh committed Oct 27, 2023
1 parent ee7a4d7 commit 0010b05
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# exclude archived files
/_archive/

# exclude dev-symlinks to .venv that make bin/python work
# exclude toplevel dev-symlinks to .venv that make bin/python work
/bin
/lib
/lib64
Expand Down
8 changes: 4 additions & 4 deletions .make/03-dotenv.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
-include .env


.PHONY: dotenv-install-from-example ## instantiate the dotenv-file (no override)
.PHONY: dotenv-install-from-template ## instantiate the dotenv-file (no override)
# cp --backup creates .env~, but will overwrite this next time.
# safest way, is to not overwrite existing .env-files, manual intervention needed.
dotenv-install-from-example:
@echo -e "Copying .env.example to .env" ;\
cp -n .env.example .env ;\
@echo -e "Copying .env.template to .env" ;\
cp -n .env.template .env ;\
echo "Please review any credentials in the .env-file."


Expand All @@ -23,4 +23,4 @@ dotenv-set-basedir:


.PHONY: dotenv-install ## install .env-file from .env.example
dotenv-install: dotenv-install-from-example dotenv-set-basedir
dotenv-install: dotenv-install-from-template dotenv-set-basedir

0 comments on commit 0010b05

Please sign in to comment.