Skip to content

Latest commit

 

History

History
74 lines (56 loc) · 2.73 KB

README.md

File metadata and controls

74 lines (56 loc) · 2.73 KB

resvault


CircleCI GitHub last commit GitHub commit activity GitHub License GitHub top language

About

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.

Prerequisites

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

Setting Up the Development Environment

To get the development environment running, follow these steps:

  1. Clone the repository:

    git clone https://github.com/apache/incubator-resilientdb-site.git
    cd incubator-resilientdb-site
  2. Install dependencies:

    npm install

Running the Project

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.

Continuous Integration and Deployment

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.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.