GithubHelp home page GithubHelp logo

johnyesberg / adoptium.net Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adoptium/adoptium.net

0.0 0.0 0.0 116.58 MB

Adoptium Website

Home Page: https://adoptium.net

License: Apache License 2.0

JavaScript 0.32% TypeScript 94.92% SCSS 4.75%

adoptium.net's Introduction

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

adoptium.net's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.