added complete url variable in .env
This commit is contained in:
4
Makefile
4
Makefile
@@ -62,7 +62,7 @@ require:
|
||||
mkdir -p $(VOLUMES_D)
|
||||
# verify if the wordpress url is added to the local path
|
||||
@echo $(B_PURPLE)"verify if the wordpress url is added to the local path"$(RESET)
|
||||
- if ! grep "127.0.0.1 $(WP_URL)" /etc/hosts 2> /dev/null; then \
|
||||
- if ! grep "127.0.0.1 $(WP_URL)" /etc/hosts 2> /dev/null; then \
|
||||
echo $(B_PURPLE)"nop ! adding it"$(RESET) \
|
||||
bash -c 'echo -e "\n# adding for lejourduprof (you can delete it)\n127.0.0.1 $(WP_URL)" >> /etc/hosts'; \
|
||||
fi
|
||||
@@ -76,7 +76,7 @@ build_logs:
|
||||
|
||||
up:
|
||||
docker compose -f $(COMPOSE_FILE) up -d
|
||||
@echo $(B_PURPLE)"you can now connect at "$(B_YELLOW)"https://$(WP_URL)"$(B_PURPLE)" or 127.0.0.1"$(RESET)
|
||||
@echo $(B_PURPLE)"you can now connect at "$(B_YELLOW)"https://$(WP_COMPLETE_URL)"$(B_PURPLE)" or 127.0.0.1"$(RESET)
|
||||
|
||||
down:
|
||||
docker compose -f $(COMPOSE_FILE) down
|
||||
|
||||
Reference in New Issue
Block a user