Files
semaphore/docs
0xorbus ab88231e92 docs: fix quick setup
- improve instruction
- fix caps
- fix list indent
2022-04-12 21:44:12 -05:00
..
2022-02-16 17:54:01 +01:00
2022-02-09 16:58:12 +01:00
2022-04-12 21:44:12 -05:00
2022-01-28 16:50:09 +01:00
2022-01-28 16:50:09 +01:00
2022-04-06 08:38:56 -05:00
2022-01-28 16:50:09 +01:00
2022-02-07 11:05:56 +01:00
2022-02-09 16:58:12 +01:00
2022-01-28 16:50:09 +01:00

Semaphore docs

Semaphore documentation website.

Code style prettier Repository top language


This directory contains the Semaphore documentation published at semaphore.appliedzkp.org/docs.

Build and run Semaphore docs

Semaphore documentation uses Markdown syntax. semaphore.appliedzkp.org/docs uses the Docusaurus site generator and JavaScript tooling to build and deploy styles, scripts, and HTML.

Install and run for development

Install dependencies, build the documentation, and run the site on your local machine.

Install Node.js and a package manager

If you haven't already, download and install Node.js.

You can use npm (included with Node.js) or yarn to install Docusaurus and other Node.js packages. To install yarn, run the following in your terminal:

$ npm i --global yarn

🛠 Get the code

Clone the Semaphore repository and then change to the docs directory:

$ git clone https://github.com/appliedzkp/semaphore.git && cd semaphore/docs

Install dependencies

To install dependencies, run yarn:

$ yarn

Start the site

To generate the HTML and start the site, run yarn start:

$ yarn start

Visit the Semaphore docs site in your browser at http://localhost:3000.

📜 Use deployment commands

Develop

$ yarn start

Th start command starts a local development server (default port is :3000) and launches the site in your browser. As you edit, the server reloads most changes and automatically refreshes the site in your browser.

Build

$ yarn build

The build command generates static content into the build directory that can be served by any static content hosting service.

Deploy

$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you use GitHub pages for hosting, this command lets you build the website and push to the gh-pages branch.