This repo holds the website for thecodingtrain.com. The website is built with:
- CONTRIBUTING.md. This page will tell you all the necessary information about contributing to this repo.
- Content Structure Guide. This guide walks you through the process of adding content to the website.
- HACKTOBERFEST.md. Here for Hacktoberfest? This guide lists out all the ways to contribute to the Coding Train for Hacktoberfest.
When updating the website, it is helpful to run the website locally in order to quickly see the changes made. Make sure you have Node.js version 20.x
installed and then perform the following steps:
- Clone down the repo to your computer and
cd
into the folder - Run
npm install
- Run
npm run dev
This will start a local server and the website will now be accessible on localhost:8000. Changes to most files will be auto-updated in the browser while the website is running.
Note: In some cases, specially when updating loaded content, you need to restart the local server with npm run dev
.
And in some cases that may fail because of Gatsby's cache usage. If you run npm run clean
before npm run dev
, that should fix it.
This repository is licensed under the MIT License. See LICENSE for more information.
Please note that while the code in this repository is licensed under the MIT License, any brand and visual assets included in this repository are not covered by the license. These assets, including but not limited to images, icons, and logos, are solely intended for use on thecodingtrain.com and should not be reused or distributed without express permission. If you have any questions regarding the use of these assets, please contact help@thecodingtrain.com.
Thanks goes to these wonderful people (emoji key):
This project follows the all-contributors specification. Contributions of any kind welcome!