Go to file
aidan 035592d0d0
ci/woodpecker/push/woodpecker Pipeline failed Details
shifted to mongodb
2023-09-07 18:56:29 +01:00
kaybee shifted to mongodb 2023-09-07 18:56:29 +01:00
tests added dependency for jinja templates 2023-09-05 19:55:04 +01:00
.gitignore added ignore for npm packages 2023-09-06 08:46:08 +01:00
.python-version added initial assets and project structure 2023-08-22 14:18:36 +01:00
.woodpecker.yml dropped pre-py3.10 build 2023-09-06 09:21:43 +01:00
CHANGELOG.md updated changelog 2023-09-06 09:23:28 +01:00
LICENSE.md added initial assets and project structure 2023-08-22 14:18:36 +01:00
Makefile shifted to mongodb 2023-09-07 18:56:29 +01:00
README.md fixed badge formatting 2023-09-06 09:29:41 +01:00
package-lock.json moved js and css dependencies local 2023-09-06 08:45:35 +01:00
package.json moved js and css dependencies local 2023-09-06 08:45:35 +01:00
pytest.ini updated Makefile, improved test output 2023-09-05 09:09:06 +01:00
requirements.txt shifted to mongodb 2023-09-07 18:56:29 +01:00
setup.py added initial assets and project structure 2023-08-22 14:18:36 +01:00

README.md

kaybee

status-badge python-3.10 python-3.11

Simple and lightweight knowledge base for recording arbitrary information. Data can be categorised and tagged to improve search and discovery. Associations can be created between data to group distinct but related information.

Build

The project depends on a number of Python and nodejs packages which are detailed in requirements.txt and package.json respectively. As such, you will need to have Python and node/npm installed for your system. The project has been built against Python 3.11 but has been tested against 3.10 without issues. Due to typing dependencies, it will not work against Python <= 3.9 out of the box. You might be able to fiddle the requirements but this won't be supported. It is advised that you create a Python virtualenv prior to using the make tooling or installing packages manually.

Automated option

All the necessary command execution can be achieved with the Makefile. make help will list out the available options.

The all command will perform installation of Python and JS dependencies, run the test suite, and then start the application. This is probably the command you want in most situations. You can drop the test step by using make run instead.

make all

Manual options

First install the dependencies.

pip install -r requirements.txt
npm install

Optional: run the test suite to make sure the application is working.

py.test tests

Then run the application with uvicorn. Make sure you're in the root directory of the project.

uvicorn kaybee.main:app --reload