atuin/docs
Eric Hodel d52e576129
feat: Add TLS to atuin-server (#1457)
* Add TLS to atuin-server

atuin as a project already includes most of the dependencies necessary
for server-side TLS.  This allows `atuin server start` to use a TLS
certificate when self-hosting in order to avoid the complication of
wrapping it in a TLS-aware proxy server.

Configuration is handled similar to the metrics server with its own
struct and currently accepts only the private key and certificate file
paths.

Starting a TLS server and a TCP server are divergent because the tests
need to bind to an arbitrary port to avoid collisions across tests.  The
API to accomplish this for a TLS server is much more verbose.

* Fix clippy, fmt

* Add TLS section to self-hosting
2023-12-27 14:15:48 +00:00
..
docs feat: Add TLS to atuin-server (#1457) 2023-12-27 14:15:48 +00:00
ru fix: many wins were broken 📝 (#789) 2023-03-19 10:51:05 +00:00
src Tidy up docs (#1120) 2023-07-26 09:47:45 +01:00
static Add release blog post and update docs (#1332) 2023-10-26 09:13:05 +01:00
zh-CN docs: Update sync.md (#1409) 2023-11-22 08:42:52 +00:00
.gitignore Add fancy web docs (#725) 2023-02-25 23:29:59 +00:00
babel.config.js Add fancy web docs (#725) 2023-02-25 23:29:59 +00:00
docusaurus.config.js Move all references to the old repo (#1132) 2023-07-30 23:08:00 +01:00
package-lock.json Bump @babel/traverse from 7.21.2 to 7.23.2 in /docs (#1309) 2023-10-17 15:51:24 -07:00
package.json Add fancy web docs (#725) 2023-02-25 23:29:59 +00:00
README.md Add fancy web docs (#725) 2023-02-25 23:29:59 +00:00
sidebars.js Add fancy web docs (#725) 2023-02-25 23:29:59 +00:00
yarn.lock Bump @babel/traverse from 7.21.2 to 7.23.2 in /docs (#1309) 2023-10-17 15:51:24 -07:00

Website

This website is built using Docusaurus 2, 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.