An interactive, self-service map showcasing members of your GitHub organization.
User pins are managed via GitHub Actions. Please see about.md for information. Do not open a pull request.
The main
branch of the repository contain all the tooling needed to manage maps. In your fork, do not modify the main
branch, and only commit changes in the gh-pages
branch.
This will allow you to sync updates and fixes submitted upstream in your fork easily.
- Fork this repository to your organization;
- Enable workflow on your fork: Actions / I understand my workflows, go ahead and enable them (if you do not do this now, the following step will prevent your from being able to do it later);
- Create a branch
gh-pages
: Branches / new Branch / New branch name: gh-pages, Source: main; - Make
gh-pages
the default branch of your fork: Settings / General / Default branch; - In the
gh-pages
branch: adjust your repo url, community name, description in_config.yml
; - Collect and setup the required API keys (see bellow);
- Make sure your community members are allowed to trigger GitHub actions in your repository so that they can add their location to the map in self-service mode.
- Synchronize the
main
branch of your fork with the upsteam repository; - Merge the
main
branch of your fork into thegh-pages
branch of your fork.
This project rely on 2 external services for geocoding (turning an address into a latitude and longitude) and for map tiles. Both provide a generours free tier which should be enough for most uses.
The free tier allow 3000 geocoding / day, which should be more than enough for almost any projects.
- On https://myprojects.geoapify.com/:
- Create an account;
- Add a new project (e.g. map);
- Copy the API key;
- On your GitHub fork of this project:
- Add a repository secret (Settings / Secrets and variables / Actions / New repository secret);
- Name it
GEOAPIFY_KEY
; - Paste the API key as its value.
Thunderforest provide nice rendering of OpenStreetMap data. Their free tier offer 150,000 tile requests per month.
Warning: as this API key will be exposed, you should use a dedicated user account and not re-use a key from another project.
- On https://manage.thunderforest.com/users/sign_in:
- Create an account;
- Copy your API key from the dashboard.