Clarify GeoIP update env setup for cached config deployments.
Deploy Ladill Link / deploy (push) Successful in 41s

Point operators at shared/.env and config:clear when MaxMind credentials are missing.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-07-04 23:45:24 +00:00
co-authored by Cursor
parent 344bf76391
commit 5e87debe32
3 changed files with 23 additions and 4 deletions
+4
View File
@@ -69,7 +69,11 @@ MAXMIND_LICENSE_KEY=
3. Download the database:
```bash
php artisan config:clear
php artisan link:geoip-update
php artisan config:cache
```
On the server, edit **`/var/www/ladill-link/shared/.env`** (not a release copy). After deploy, `current/.env` symlinks to that file. If you add env vars while config is cached, run `config:clear` before `link:geoip-update` or Laravel will not see the new values.
The file is stored at `storage/app/geoip/GeoLite2-Country.mmdb` by default. The command is scheduled weekly via the app scheduler — ensure cron runs `php artisan schedule:run` for link.ladill.com.