Publish your first assistant
This guide will walk you through how to deploy a simple echo assistant to fly.io, and publish that assistant to OneChat. Our echo assistant is built with python/fastapi.
Create an account on OneChat
git clone https://github.com/OneChat-Official/EchoAssistant.git
pip install -r requirements.txt
to install dependenciesfastapi run dev
to run the assistant locally. If it runs, we’re good to move on to the next sectionWe will deploy our echo assistant with fly.io because it has a free tier and is easy to use. Optionally for this step you can deploy to any other hosting provider you choose.
fly auth signup
or login with fly auth login
.fly launch
from inside your project source directory to create, configure, and (for most apps) deploy a new application.fly deploy
to deploy your new app (or to redeploy after changes!).https://echo-assistant.fly.dev/
. This is important for the next step.https://echo-assistant.fly.dev/chat/
Email me with any issues. I’m happy to help!