TROPICAL-IA is an asynchronous algorithm training and forecasting platform supported by a RESTful API
This project requires the following to work:
- SQLite3
- MinIO
You can setup a minimal development environment using Docker Compose.
docker-compose up -d
Via source code using Poetry:
git clone https://github.com/ccardas/tropicalia-backend.git
cd tropicalia-backend
poetry install
Before running tropicalia
, save a copy of .env.template
as .env
and insert your own values.
tropicalia
will then look for a valid .env
file in the current working directory. In its absence, it will use the default values from the config file.
Server can be deployed with uvicorn, a lightning-fast ASGI server, using the command-line client.
poetry run tropicalia
Alternatively, use the provided Dockerfile
:
sudo docker build . -t tropicalia-backend
sudo docker run -p 8001:8001 tropicalia-backend
Online documentation is available at /api/docs
.