Skip to content

bplmaps/lmec-main-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Automated
Mar 10, 2025
448057b · Mar 10, 2025
Jun 13, 2023
Mar 10, 2025
Mar 10, 2025
Mar 7, 2025
Jan 13, 2025
Dec 18, 2024
Jan 23, 2024
Nov 19, 2021
Jun 8, 2023
Jan 13, 2025
Jun 28, 2021
May 2, 2023
Dec 21, 2023
Oct 19, 2023

Repository files navigation

lmec-main-site

Codebase for Leventhal Map & Education Center main website

LMEC's website is built with the static site generator Hugo. Its front-end editing is configured with Tina, a Git-backed headless CMS.

The production site deploys to https://leventhalmap.org. A separate staging site deploys via Netlify. Staging site rebuild is triggered when changes are pushed to GitHub.

Get started

To get started with running a local version of the LMEC website, clone this repo, cd into it, and install dependencies:

npm install

Develop locally (no Tina admin)

Serve a development version of the website with hot reload:

hugo serve -FD

The -FD flag displays draft posts and future posts.

Develop locally with Tina admin

Tina is in a beta release. Not everything will work as expected. An active community of developers and Tina users are tracking issues and discussing them in forums at Tina's GitHub page.

To serve a development version of the website with admin privileges for configuring the Tina front-end:

npm run dev

In addition to spinning up a development version of the website, this serves a local version of the Tina front-end at localhost:host/admin.

Rebuild for Git push

Before you push changes to GitHub, you should rebuild the site to ensure that your local edits are synchronized with TinaCloud. To do so, simply:

npm run build

This overwrites contents of the tina/__generated__ directory as well as the tina/tina-lock.json file.

About

2020 redesign of the LMEC main website in Hugo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published