Skip to content

fcassia2017/adoptium.net

This branch is 100 commits behind adoptium/adoptium.net:main.

Folders and files

NameName
Last commit message
Last commit date
Nov 18, 2024
Dec 29, 2021
Nov 4, 2024
Mar 12, 2024
Nov 10, 2024
Nov 1, 2024
Feb 10, 2022
Aug 16, 2023
Dec 13, 2021
Dec 13, 2021
Nov 25, 2022
Jan 28, 2022
Jan 29, 2024
Apr 19, 2022
Nov 24, 2022
Jul 18, 2024
May 30, 2024
Dec 13, 2021
Aug 16, 2023
Nov 19, 2024
Nov 19, 2024
Oct 6, 2023
Sep 9, 2024
Dec 23, 2023

Repository files navigation

Adoptium Site

Netlify Status codecov OpenSSF Scorecard

This repository contains the source code for https://adoptium.net.

The main branch contains the source code necessary for development. The production site is hosted on Netlify which also supports pull request staging.

Tech Stack

This is is a Node.js / npm driven stack with AsciiDoc used for static content and Gatsby as the rendering engine etc.

How to develop locally

This assumes you already have Node.js and npm installed. Node.js version 18 or above is required. We recommend using nvm to manage your versions.

  1. Install your dependencies

    npm install
  2. Start the site up. Gatsby will build all of the various parts of the site (Asciidoc etc). Note that this command takes some time to execute.

    npm start
  3. If you need more memory (FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory)

    export NODE_OPTIONS=--max-old-space-size=4096
  4. Open the source code and start editing!

    Your site is now running at http://localhost:8000!

    Note: You'll also see a second link:http://localhost:8000/___graphql. This is a tool you can use to experiment with querying your data. Learn more about using this tool in the Gatsby tutorial.

    Open the directory in your code editor of choice and edit relevant files under the src/ directory. Save your changes and the browser will update in real time!

Configuring the build

gatsby-config.ts is effectively your build script and gatsby-node.ts is where the Asciidoc rendering takes place.

How to contribute

See CONTRIBUTING.md

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 95.1%
  • SCSS 4.6%
  • JavaScript 0.3%