Skip to content

OpenKnowledgeMaps/map-browser

Repository files navigation

OKM Browser

The Open Knowledge Maps Browser is a tool to discover and rate maps that were created and shared by the community.

Gatsby

The source code for the OKM browser is based on Gatsby and the gatsby-advanced-starter.

Development

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.

Building/Production

gatsby build --prefix-links // edit path prefixes in data/SiteConfig.js

This creates a new production build in public.

To-Do

  • Edit static/robots.txt to include your domain for the sitemap!
  • Add logo in static\logos and edit SiteConfig.js
  • Remove GA plugin & replace w/ alternative
  • Remove more unnecessary features

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published