https://github.com/adoptium/adoptium.net-redesign
Adoptium Website
https://github.com/adoptium/adoptium.net-redesign
hacktoberfest
Last synced: about 1 year ago
JSON representation
Adoptium Website
- Host: GitHub
- URL: https://github.com/adoptium/adoptium.net-redesign
- Owner: adoptium
- License: apache-2.0
- Created: 2024-01-31T10:31:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-10T05:31:30.000Z (about 1 year ago)
- Last Synced: 2025-04-10T06:34:53.931Z (about 1 year ago)
- Topics: hacktoberfest
- Language: TypeScript
- Homepage: https://adoptium-rewrite.netlify.app/
- Size: 132 MB
- Stars: 2
- Watchers: 11
- Forks: 6
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Adoptium Site
[](https://app.netlify.com/sites/adoptium-rewrite/deploys) [](https://codecov.io/gh/adoptium/adoptium.net-redesign) [](https://api.securityscorecards.dev/projects/github.com/adoptium/adoptium.net-redesign)
This repository contains the source code for [https://adoptium.net](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](https://github.com/nvm-sh/nvm/blob/master/README.md) to manage your versions.
1. Install your dependencies
```bash
npm install
```
1. 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.
```bash
npm start
```
1. If you need more memory (FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory)
```bash
export NODE_OPTIONS=--max-old-space-size=4096
```
1. **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](https://www.gatsbyjs.com/tutorial/part-five/#introducing-graphiql)._
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](CONTRIBUTING.md)