diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-19 03:10:42 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-19 11:29:33 +0000 |
| commit | f94432b94512cef90cca6d0d5396b4547ccbe68b (patch) | |
| tree | b4888881a713654a4accbd5fbdbae6574a7e62e3 /docs/README.md | |
| parent | 3304ed4733f7301a29231ee4f967e04fd7c10880 (diff) | |
| download | karakeep-f94432b94512cef90cca6d0d5396b4547ccbe68b.tar.zst | |
docs: Bootstrap docusaurus docs
Diffstat (limited to 'docs/README.md')
| -rw-r--r-- | docs/README.md | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 00000000..0c6c2c27 --- /dev/null +++ b/docs/README.md @@ -0,0 +1,41 @@ +# Website + +This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator. + +### Installation + +``` +$ yarn +``` + +### Local Development + +``` +$ yarn start +``` + +This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. + +### Build + +``` +$ yarn build +``` + +This command generates static content into the `build` directory and can be served using any static contents hosting service. + +### Deployment + +Using SSH: + +``` +$ USE_SSH=true yarn deploy +``` + +Not using SSH: + +``` +$ GIT_USER=<Your GitHub username> yarn deploy +``` + +If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. |
