mirror of
https://github.com/kerberos-io/documentation.git
synced 2026-08-23 15:18:31 +00:00
37 lines
705 B
Markdown
37 lines
705 B
Markdown
# [Kerberos Docs](https://doc.kerberos.io)
|
|
|
|
|
|
## Installation
|
|
|
|
Make sure you have Node JS and Yarn installed.
|
|
|
|
Grab the dependencies:
|
|
|
|
$ yarn install
|
|
|
|
|
|
## Development
|
|
|
|
Run the docs locally for development:
|
|
|
|
$ yarn dev
|
|
|
|
For a static site build:
|
|
|
|
$ yarn build
|
|
|
|
|
|
## Building for deploy
|
|
|
|
Check if Docker flow works (build & launch):
|
|
|
|
$ yarn build
|
|
$ docker build -t kerberos/documentation .
|
|
$ docker run --name kerberos-docs -p 80:80 -d kerberos/documentation
|
|
|
|
|
|
## Notes
|
|
|
|
**Theme colors** are defined in `/doczrc.js` > `themeConfig > colors`, which can then be used in `styles.js` of underlying components.
|
|
|
|
**Inherited layout files** in `node_modules/gatsby-theme-docz/src/components/`. |