π»
Introduction Katana project is a template for ASAP
π ML application deploymentCheckout demo at- https://katana-demo.herokuapp.com/
π
Features - FastAPI inbuilt
- Swagger UI and uvicorn integration
- Docker ready configuration
- Integrated GitHub actions
- Production ready code
π
π§
Set-up Instructions We recommend using flask default serving for development and uvicorn server for production
We included following setup instructions;
- Local development
- Docker supported deployment
Local Development π¨π»βπ»
- Clone this repo with
[email protected]:shaz13/katana.git
- Set up environment using
python3 -m venv .env
- Activate envrionment using
# Linux / Mac / Unix
$ source .env/bin/activate
# Windows
$ \.env\Scripts\activate
- Install requirements using
pip install -r requirements.txt
- For debugging run from root -
python main.py
- Deploy using
Procfile
orbash scripts/launch.sh
- Your API is being served at
localhost:9000
β΄
Docker Setup - Clone this repo with
[email protected]:shaz13/katana.git
- Install docker in your system
- Run
docker-compose up
- Your local port is mapped and being served at
localhost:9000
π
Contributors - Mohammad Shahebaz - @shaz13
- Aditya Soni - @AdityaSoni19031997
License π©π»βπΌ
MIT License