File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,12 @@ tasks:
8585 up :
8686 desc : Take the environment up without altering the existing state of the containers
8787 cmds :
88+ - |
89+ if [ ! -f docker-compose.yml ]; then
90+ echo "ERROR: docker-compose.yml not found. Please run 'task install' to set up the system before starting the environment."
91+ exit 1
92+ fi
93+ - task _dc_compile
8894 - docker compose --env-file .env.local --env-file .env.docker.local -f docker-compose.yml up -d
8995
9096 stop :
@@ -192,10 +198,8 @@ tasks:
192198 _env_files :
193199 cmds :
194200 - |
195- if [ ! -f .env.local ]; then
196- echo ".env.local does not exist. Copying .env.example to .env.local..."
197- cp .env.example .env.local
198- fi
201+ echo "Copying .env.example to .env.local..."
202+ cp .env.example .env.local
199203 - |
200204 if [ ! -f .env.docker.local ]; then
201205 echo ".env.docker.local does not exist. Copying .env.docker.example to .env.docker.local..."
You can’t perform that action at this time.
0 commit comments