No description
  • Python 71.4%
  • Shell 22.2%
  • Makefile 6.4%
Find a file
2022-10-01 11:57:27 +01:00
.devcontainer feat: update deps 2022-06-26 10:11:59 +01:00
.vscode feat: initial release 2021-12-31 15:42:51 +00:00
src/omnibus fix: unable to connect to mongodb 2022-08-26 23:18:36 +01:00
.editorconfig feat: initial release 2021-12-31 15:42:51 +00:00
.flake8 feat: initial release 2021-12-31 15:42:51 +00:00
.gitignore feat: initial release 2021-12-31 15:42:51 +00:00
.gitlab-ci.yml feat: update deps 2022-06-26 10:11:59 +01:00
.pre-commit-config.yaml feat: pre-commit-hooks with poetry 2022-06-27 22:10:24 +00:00
.python-version feat: update deps 2022-06-26 10:11:59 +01:00
CHANGELOG.md Update FastAPI 2022-10-01 11:57:27 +01:00
LICENSE feat: initial release 2021-12-31 15:42:51 +00:00
Makefile feat: initial release 2021-12-31 15:42:51 +00:00
poetry.lock Update FastAPI 2022-10-01 11:57:27 +01:00
pyproject.toml Update FastAPI 2022-10-01 11:57:27 +01:00
README.md feat: initial release 2021-12-31 15:42:51 +00:00

Banter Bus Ominibus

A library containing core code between FastAPI webservices for the Banter Bus application.

Running using devcontainer

The easiest way to setup this project is to use vscode's development containers. For this you will need:

First make a copy of the example files:

cp .env.sample .env
cp .devcontainer/devcontainer.example.json .devcontainer/devcontainer.json
cp .devcontainer/config.example.sh .devcontainer/config.sh

The reason for this is so we can customise our development environment. For example I like to use fish shell instead of bash.

Example config.sh file

#!/bin/bash

# Name of the folder to copy files to in project (this folder should get deleted)
export temp_config_dir=.temp-config

# List of files to copy from host machine (relative to home directory) to docker container
export paths_to_port=(.config/fish)

# List of commands to run after the container is running
install_cmds() {
   apt-get install fish fzf httpie vim  -y
   curl -fsSL https://starship.rs/install.sh | bash -s -- --yes
}