Bash syntax highlighting in README

This commit is contained in:
Ivan Golikov 2022-12-17 09:54:22 +01:00
parent 6e6ae931f7
commit c7c6474432

View file

@ -22,7 +22,7 @@ Service is built with Python, FastAPI and is using Redis for data storage.
#### TL/DR #### TL/DR
``` ```bash
$ git clone git@git.ivnglkv.ru:ivnglkv/rectes.git $ git clone git@git.ivnglkv.ru:ivnglkv/rectes.git
$ python3 -m venv venv $ python3 -m venv venv
$ . ./venv/bin/activate $ . ./venv/bin/activate
@ -42,7 +42,7 @@ Steps to install Rectes:
After installation is done, you can start rectes with `rectes` command. After installation is done, you can start rectes with `rectes` command.
The web server will be started with `uvicorn` ASGI web server. The web server will be started with `uvicorn` ASGI web server.
``` ```bash
$ rectes $ rectes
``` ```
@ -64,7 +64,7 @@ at [conf/rectes.toml](conf/rectes.toml) under Git root.
Codestyle is enforced with Black, and additional checks are done with the help of pre-commit-hooks, Codestyle is enforced with Black, and additional checks are done with the help of pre-commit-hooks,
Flake8 and isort. Prior to making any commits, install `pre-commit` tool and install hooks: Flake8 and isort. Prior to making any commits, install `pre-commit` tool and install hooks:
``` ```bash
# Alternatively, you could use 'pip install ".[development]"' # Alternatively, you could use 'pip install ".[development]"'
$ pip install pre-commit==2.19.0 $ pip install pre-commit==2.19.0
$ pre-commit install $ pre-commit install