You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Makefile
+2-6
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,7 @@ frontend/start:
33
33
.env: .env.example
34
34
@if [ -f .env ];\
35
35
then\
36
-
echo'\033[1;41m/!\ The .env.example file has changed. Please check your .env file (this message will not be displayed again).\033[0m';\
37
-
touch .env;\
38
-
exit 1;\
36
+
echo'\033[1;41m/!\ You already have created .env file. You should have a look at the .env.example file to ensure you have set all required environment variables for docker-compose.\033[0m';\
39
37
else\
40
38
echo cp .env.example .env;\
41
39
cp .env.example .env;\
@@ -44,9 +42,7 @@ frontend/start:
44
42
frontend/.env: frontend/.env.example
45
43
@if [ -f frontend/.env ];\
46
44
then\
47
-
echo'\033[1;41m/!\ The frontend/.env.example file has changed. Please check your frontend/.env file (this message will not be displayed again).\033[0m';\
48
-
touch frontend/.env;\
49
-
exit 1;\
45
+
echo'\033[1;41m/!\ You already have created a .env file for the frontend. You should have a look at the frontend/.env.example to ensure you have set all required environment variables to make the frontend work (this message will not be displayed again).\033[0m';\
0 commit comments