Skip to content

capactio/website

Capact.io Website

License GitHub Actions main branch CI

This repository contains source code of the capact.io website.

Development

This website is built using Docusaurus 2, a modern static website generator.

Prerequisites

To get started with the development, install the following dependencies:

Installation

To install all dependencies, run:

npm install

Local Development

To start a local development server and open up a browser window, run:

npm start

Most changes are reflected live without having to restart the server.

Build

To generate static content into the build directory, run:

npm run build

It can be served using any static contents hosting service. You can use npm run serve command to set up a development static server.

Synchronize CLI documentation

The documents that describe Capact CLI commands reside in the capact repository. To synchronize them, run:

npm run sync-cli-docs

NOTE: The script assumes that the capact repository is located under the ../capact path relative to the root of the directory.