Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Website for the Finnish non-profit amateur baseball team Turku Black Sox

Notifications You must be signed in to change notification settings

jhirvioja/turkublacksox-11ty

Repository files navigation

Turku Black Sox Website

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

This is a website for the now defunct Finnish non-profit amateur baseball team Turku Black Sox. It serves as a learning project, and as an example on how an Eleventy page can be built and served from a GitHub repo to GitHub Pages. Since June 2022 the site content is also pulled from Contentful, and a webhook builds the static site via GitHub Actions everytime something is published in Contentful.

🔗 Archived website at GitHub Pages

🔗 PageSpeed Insights Score

Launch 🚀

June 2022 Update: per the addition of fetching data from Contentful, you can no longer run this project unless you have the right CTFL_SPACE and CTFL_ACCESSTOKEN envs.

The following instructions expect that you have some experience of using Node.js, npm and a terminal of your choice.

In terminal:

  1. Use the command nvm use to choose the right Node version which is stated in this project's .nvmrc-file (the version is v18.19.1, ymmv with different versions but please note Eleventy requires Node 12 or newer)
  2. Use the command npm install to install dependencies
  3. Use the command npm run serve to run the site locally
  4. Go to any browser and visit http://localhost:8080

About

Website for the Finnish non-profit amateur baseball team Turku Black Sox

Resources

Stars

Watchers

Forks