Skip to content

feat: add initial github codespaces config - #1059

Open
lenderom wants to merge 6 commits into
mainfrom
feat/add-initial-codespaces-config
Open

feat: add initial github codespaces config#1059
lenderom wants to merge 6 commits into
mainfrom
feat/add-initial-codespaces-config

Conversation

@lenderom

@lenderom lenderom commented Jul 2, 2026

Copy link
Copy Markdown
Member
  • add initial github codespaces config

With the free tier we get 120 core-hours per person per month. With the 2-core machine that's 60 hours per month or 30 hours with the 4-core machine. Codespaces can be created here: https://github.com/codespaces

I would recommend stopping the Codespace after a coding session manually.

The first build takes some time. But the Codespace can be kept kind of persistent/reusable when it's not deleted.

@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Hi there! 👋

Thank you for your contribution to the FIP Guide! 🚀
We appreciate your effort in making rail staff travel information more accessible. 🚄

Checklist before merging:

  • Added a description to the Pull Request
  • Checked the License of new pictures (non-commercial use without attribution)
  • Modified content in English
  • Modified content in German
  • Modified content in French

@netlify

netlify Bot commented Jul 2, 2026

Copy link
Copy Markdown

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit 4b49ddf
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/6a86a3255e30e2000897fb3b
😎 Deploy Preview https://deploy-preview-1059--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@lenderom
lenderom marked this pull request as draft July 2, 2026 21:37
@lenderom
lenderom requested a review from MoritzWeber0 July 12, 2026 20:20
@lenderom lenderom added the technical Technical issues, e.g. related to Hugo, HTML, CSS, deployment, etc. label Jul 12, 2026
@lenderom
lenderom marked this pull request as ready for review July 12, 2026 20:20
Comment thread .devcontainer/devcontainer.json Outdated
Comment thread .devcontainer/devcontainer.json Outdated
Comment thread .devcontainer/devcontainer.json Outdated
@lenderom

lenderom commented Aug 7, 2026

Copy link
Copy Markdown
Member Author

We should add a entry to our Contribution Guide about the Github Codespaces Usage

@lenderom

Copy link
Copy Markdown
Member Author

@MoritzWeber0 would you like to invest more time in this feature? Otherwise I would like to merge it and test it out in real usecases.

- Enable Hugo extended edition (required for SCSS resources.ToCSS)
- Forward and label Hugo's dev server port
- Persist Hugo resources/cache dirs via named volumes
- Add editor extensions and format-on-save settings

@MoritzWeber0 MoritzWeber0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the prettier plugin for VSCode, automatic port forwarding + switched to the official features (with fixed hugo version). Tested hugo server and prek run -a and it works, however hugo is really slow (first build took 5 minutes)

@MoritzWeber0

Copy link
Copy Markdown
Member

@lenderom Feel free to merge the PR if my changes are fine for you :)

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

Labels

technical Technical issues, e.g. related to Hugo, HTML, CSS, deployment, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants