This repository contains the official source code for the Apache ResilientDB (Incubating) website. It is a Next.js-based project configured with Tailwind CSS for styling and uses a variety of tools and libraries to enhance the frontend experience.
Before you begin, ensure you have the following installed on your system:
- Node.js (version 18 or later)
- npm (version 9 or later)
You can verify the installations using:
node --version
npm --version
To get the development environment running, follow these steps:
-
Clone the repository:
git clone https://github.com/apache/incubator-resilientdb-site.git cd incubator-resilientdb-site
-
Install dependencies:
npm install
You can run the project in development or production mode as follows:
-
Development mode:
npm run dev
This starts the development server on http://localhost:3000. The server will reload if you make edits.
-
Production mode:
npm run build npm run start
This builds the application for production usage and starts a Node.js server to serve the built site.
-
Linting:
npm run lint
Run the linting utility to check for issues in the codebase.
Pushing to the main
branch triggers a CircleCI build. CircleCI is configured to build the static site and commit the generated files to the asf-site
branch. The Apache Software Foundation infrastructure automatically deploys the contents of the asf-site
branch, ensuring that the latest changes are always live.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.