This project still in development, and the API is not stable yet.
You should have the following installed:
- uv package manager
MySQL
server(well configured)
Restore the specified version of the python:
uv python install
If you develop on Linux, you have to install mysql's development package.
For Debian/Ubuntu:
sudo apt-get install python3-dev default-libmysqlclient-dev build-essential pkg-config
For Red Hat / CentOS:
sudo yum install python3-devel mysql-devel pkgconfig
Restore the dependencies(Include the plugins' dependencies):
uv sync --all-packages
Modify the configuration file located at Services/Config/config.toml.sample
and rename it to config.toml
.
You can generate the secret key by using the openssl rand -hex 32
command.
uv run uvicorn main:app