Skip to content

02. Getting Started

DeepakNess edited this page Aug 6, 2024 · 1 revision

2.1. Prerequisites

  • Node.js (version 12 or higher)
  • npm (usually comes with Node.js)

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/crispwrite.git
    
  2. Navigate to the project directory:

    cd crispwrite
    
  3. Install dependencies:

    npm install
    
  4. Run the development server:

    npm run start
    
  5. Open your browser and visit http://localhost:8080 to see your blog in action.

2.1. Building for Production

To build your blog for production, run:

npm run build

This will generate the static site in the _site directory.

Clone this wiki locally