Go to file
Guido Drehsen 5b25d27409 Merge pull request 'main' (#1) from cwtch.im/docs.cwtch.im:main into main
Reviewed-on: #1
2023-04-16 14:27:12 +00:00
docs testing title 2022-08-08 10:55:05 -07:00
i18n restore spanish server warnings 2022-08-23 12:18:39 -07:00
src buttons 2022-06-17 13:27:41 -07:00
static clickable links additional 2022-06-17 13:55:55 -07:00
.gitignore cleanup, mroe docs 2022-05-17 17:35:41 -07:00
README.md README add node instructions and our deployment instructions 2022-05-24 17:32:03 -07:00
babel.config.js theme image 2022-06-17 13:29:10 -07:00
crowdin.yml initial docs import + crowdin script 2022-05-18 17:43:31 -07:00
docusaurus.config.js spanish! and updates 2022-08-23 09:48:44 -07:00
package-lock.json initial docs import + crowdin script 2022-05-18 17:43:31 -07:00
package.json initial docs import + crowdin script 2022-05-18 17:43:31 -07:00
sidebars.js test stub 2022-05-11 13:53:53 -07:00

README.md

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

or

install NVM to manage multiple and new NodeJS versions, and then install NodeJS 16

$ nvm install 16
$ nvm use 16

nvm only works in bash shell

Local Development

$ yarn start

or

$ npm run 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

or

$ npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Using git.openprivacy.ca to manage but deployment by push is to a seperate docs server. Add your key to the docusaurus account's .ssh/authorized_keys and then

$ git remote add docs docusaurus@docs.cwtch.im:/home/docusaurus/git/docs.cwtch.im
$ git push docs main