Skip to content

Latest commit

 

History

History
35 lines (20 loc) · 870 Bytes

README.md

File metadata and controls

35 lines (20 loc) · 870 Bytes

Amazon Mining Watch

This is the frontend to Amazon Mining Watch built on Next.js and react-map-gl. It uses Next's native i18n support and App Router. As Next's language handling is still in flux at time of writing, it uses some custom middlewear and a cookie to persist the user's locale.

Content management

Content is pulled from markdown files in ./markdown.

Translations

Interface translations are stored in ./dictionaries.

Deploy

To create a production build:

  • Ensure you have created an .env file and populated it with the required env vars.
  • Run yarn build to create a production build.

Developers

Rename env-example.txt to .env and add your env values.

First, install dependences:

yarn install

and then start the dev server:

yarn dev