Skip to content

Latest commit

 

History

History
65 lines (42 loc) · 1.56 KB

BUILD.md

File metadata and controls

65 lines (42 loc) · 1.56 KB

BUILD

Table of contents

About

The BUILD.md is a file to check the environment and build specifications of horusec-docs project.

Environment

Development

Set up your environment and then run the commands to run and check your project.

Install and Run

Run the command below to install the project's dependencies:

make install

And then to view the project on a web page, run:

make run

And then check if the web server is available at the address http://localhost:1313/docs

Style Guide

All project files must have the license header. You can check if all files are in agreement by running the following command in project root:

make license

If it is necessary to add the license in any file, run the command below to insert it in all files that do not have it:

make license-fix

Production

To generate a production build, run the command below at the root of the project:

npm run build

A directory named dist/ will be generated, it contains the compiled project ready to be hosted on a web server.