Skip to content
Maikel edited this page Jul 25, 2022 · 2 revisions

Initial setup

Read in the ofn-install wiki about getting an API key if you want to set up a staging or production server.

OpenStreetMaps

Login as superadmin and visit admin/contents/edit. Find the Map section check the box "Open Street Map enabled"

Google Maps

Disabling "Open Street Map enabled" checkbox will use Google maps by default. For the maps page to work properly, you'll need a Google Maps API key which you can set up as follows:

Dev/local environment

Create a file named .env.development.local in the root of the repo, and add the value like this:

GOOGLE_MAPS_API_KEY="xxxxxxxx"

Staging environment

Same as above, but in staging you'll need to create or edit a file named .env.staging instead. Also, good to keep in mind that this file will be replaced if the server gets provisioned, unless this change has been added to the secrets repo.

Clone this wiki locally