Files

18 lines
1.0 KiB
Markdown
Raw Permalink Normal View History

### Configuration
The app configuration lives in `/var/www/__APP__/app/.env` (regenerated on upgrade and URL change):
- `PUBLIC_MAPILLARY_TOKEN` — Mapillary client token for the street mode *An lari a*. Get a free token on <https://www.mapillary.com/dashboard/developers>. Without it, the other 4 modes work normally.
- `PUBLIC_TILES_URL` — optional URL of a self-hosted tileserver-gl `style.json`. Empty = default OpenFreeMap style. See the [deployment guide](https://labola.o-k-i.net/ORGANISATION-KA-INTERNATIONALE/JWE/src/branch/master/docs/deploiement.md) for hosting your own OSM tiles.
After editing the file manually, restart the service: `systemctl restart __APP__`.
### Logs and service
- Service: `systemctl status __APP__`
- Logs: `/var/log/__APP__/__APP__.log` or `journalctl -u __APP__`
### Adding places to the game corpus
The location corpus is embedded in the build: adding places (see `docs/contribution.md` upstream) requires pushing to the upstream repository, then upgrading the app (`yunohost app upgrade __APP__`).