Skip to content

Conversation

@cwhite911
Copy link
Contributor

I've add Docker support for running the Hugo server, integrating SCSS for theming, and updating dependencies. Below is a breakdown of the most important changes:

Development Environment Updates:

  • Added HUGO_VERSION to the .env file to specify the Hugo version used in Docker (0.139.4).
  • Updated Node.js version in .nvmrc from 22.14.0 to v23.3.0.
  • Added instructions in README.md for running Hugo locally with Docker, including commands for installing Node dependencies and launching the Hugo server.

Docker Integration:

  • Introduced a docker-compose.yml file to define a service for running the Hugo server with the hugomods/hugo:dart-sass container, including volume mappings and port configuration.

Styling and Theming Enhancements:

  • Added a new SCSS file (themes/grass/assets/sass/main.scss)
  • Updated themes/grass/layouts/partials/head.html to use the SCSS file (main.scss) with Dart Sass for CSS preprocessing, replacing the previous static CSS file.

Dependency Management:

  • Added Bootstrap (^5.3.7) as a dependency in package.json to support modern styling and layout capabilities.

@echoix
Copy link
Member

echoix commented Jul 3, 2025

Sounds like something that would be appropriate to use devcontainers (see the specifications). It can use a docker image directly too, so you’re not that way off

also, using node 23 is kinda weird, node 24 is going to be the LTS at any point now. Otherwise node 22 is used in cases like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants