Skip to content

Latest commit

 

History

History
98 lines (69 loc) · 2.53 KB

README.md

File metadata and controls

98 lines (69 loc) · 2.53 KB

js-standard-style Code Style: prettier Conventional Commits

questdb.io

This website is built using Docusaurus 2. Pages & components are written in TypeScript, the styles in vanilla CSS with variables using CSS Modules.

Installation

yarn

Note. On Linux you may have to install autoconf package to have a successful installation. On Ubuntu it should be enough to run sudo apt-get install autoconf command to install the package.

Local development

yarn start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build for production

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service. For that purpose, you can also use:

yarn serve

Contributing

Feel free to contribute to the project by forking the repository and submitting pull requests.

Guidelines

Consult the guidelines.

Lexicon

Consult the lexicon for terminology we commonly use

Commits

The commit messages must follow the Conventional Commits spec.

Code Quality

1. Linting

The coding style rules are defined by Prettier and enforced by Eslint

On top of this, we follow the rules set by the JavaScript Standard Style.

You do not need to run the linting task manually, Webpack will take care of that for you.

2. Git Hooks

We use Husky to automatically deploy git hooks.

On every git commit we check that images added to static/img/* do not exceed 10MB.