composer,make key fix,readme

This commit is contained in:
2026-01-17 14:29:37 +07:00
parent dd67217be2
commit ca5adb2fe8
4 changed files with 34 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ key:
if grep -q '^APP_KEY=' .env; then \
sed -i "s/^APP_KEY=.*/APP_KEY=$$KEY/" .env; \
else \
echo "APP_KEY=$$KEY" >> .env; \
printf "\nAPP_KEY=$$KEY\n" >> .env; \
fi; \
echo "APP_KEY set to $$KEY"; \
echo "Restarting app container to apply new key..."; \