The Open Knowledge Maps Browser is a tool to discover and rate maps that were created and shared by the community.
The source code for the OKM browser is based on Gatsby and the gatsby-advanced-starter.
To deploy the gatsby dev-server which supports Hot Reloading:
npm install
npm run develop
You should be able to see the page on http://localhost:8000. If you want to play around with the new GraphQL layer you can to to http://localhost:8000/___graphql and play around with the interactive debugger.
If you encounter any problems try to remove .cache and node_modules before running npm install. Also I couldn't get gatsby running with anything older than node_v8.1.0. Check out https://www.gatsbyjs.org/docs/gatsby-on-windows/ to run Gatsby on a Windows machine.
gatsby build --prefix-links // edit path prefixes in data/SiteConfig.js
This creates a new production build in public.
- Edit
static/robots.txtto include your domain for the sitemap! - Add logo in
static\logosand edit SiteConfig.js - Remove GA plugin & replace w/ alternative
- Remove more unnecessary features