Skip to main content

You're viewing the documentation for an older version of 文档中心. Consider upgrading your project to version 4.x

  • Introduction
  • Installation

Installation

Learn how to install Dok via the CLI or by installing into an existing site.

Installing Dok using the CLI

shell
statamic new mysite fawnsoftware/dok

Requires the Statamic CLI tool if you're installing a new site via the statamic command.

Installing Dok into an existing site

shell
php please starter-kit:install fawnsoftware/dok

After Installation
Run the initial build process. Installing the package dependencies and building the control panel assets.

shell
npm i && npm run cp:build

You can then run your dev server:

shell
npm run dev