This repository contains the source code for the Radius website, available at https://radapp.io.
-
Install dependencies
- Node.js (see
.node-versionfor the expected version)
- Node.js (see
-
Clone the repository
git clone https://github.com/radius-project/website.git cd website -
Install npm packages (this also installs Hugo and Dart Sass)
npm ci
-
Run the development server
npm run start
To include draft and future-dated content, use
npm run start:draftsinstead. -
Open a browser to http://localhost:1313
The Hugo project lives at the repository root, with configuration under
config/_default/. Run npm run build from the root to
generate the static site in public/. Do not commit generated output.
The Radius Website workflow builds once and
deploys the public/ artifact to GitHub Pages on pushes to main or manual runs
from main. The Pages publishing source is GitHub Actions, not a branch.
With no custom domain configured, deployments are served at
https://radius-project.github.io/website/ without changing radapp.io.
After configuring the custom domain and DNS,
rerun the workflow from main so Hugo builds with the new base URL.
Pull requests build downloadable preview-* artifacts, including drafts and
future-dated content, without deploying them. Extract the artifact and run this
command from the extracted directory, then open http://localhost:8000/.
python -m http.server 8000 --bind 127.0.0.1Please refer to our Radius Community Code of Conduct