Installation Guide
To get started with Planum Docs, you need to set up a new instance. This page will guide you through the process.
Prerequisites
Ensure you have the following installed:
Getting Planum
You can download the latest release from GitHub and extract the contents.
Or you can clone the repository to get the latest changes:
git clone --depth 1 https://github.com/gauravjot/planum-docs
cd planum-docs
Starting the Development Server
Install the dependencies:
npm install
Then start the development server:
npm run dev
The server will start at http://localhost:4321.
Cleaning Up
- Delete any directories inside
src/content
directory. KEEPsrc/content/config.ts
file. - Empty out
public/assets
directory. - Delete hidden
.git
directory if it is present.
Configuring Planum
For customizations such as changing logo and website name in navigation, check Configuration page.
Building for Production
With Planum, you are able to build a static HTML, CSS, and JavaScript only website. Run the following command to build the website:
npm run build
The build files will be generated in the dist
directory.
See Deploying Static Website for more information.