1
0
Fork 0
forked from mCaptcha/website
mCaptcha-website/content/docs/prologue/quick-start.md
2021-03-09 18:56:02 +05:30

1.3 KiB

title description lead date lastmod draft images menu weight toc
Quick Start One page summary of how to start a new Doks project. One page summary of how to start a new Doks project. 2020-11-16T13:59:39+01:00 2020-11-16T13:59:39+01:00 false
docs
parent
prologue
110 true

Requirements

Doks uses npm to install dependencies and run commands. Installing npm is pretty simple. Download and install Node.js (it includes npm) for your platform.

Start a new Doks project

Create a new site, change directories, install dependencies, and start development server.

Create a new site

{{< btn-copy text="git clone https://github.com/h-enk/doks.git my-doks-site" >}}

git clone https://github.com/h-enk/doks.git my-doks-site

Change directories

{{< btn-copy text="cd my-doks-site" >}}

cd my-doks-site

Install dependencies

{{< btn-copy text="npm install" >}}

npm install

Start development server

{{< btn-copy text="npm run start" >}}

npm run start

Doks will start the Hugo development webserver accessible by default at http://localhost:1313. Saved changes will live reload in the browser.

Other commands

Doks comes with commands for common tasks. [Commands →]({{< ref "commands" >}})