Setting up https://github.com/sweepai/sweep on replit

How can I deploy Sweep as a docker image/uvicorn run on replit?

https://replit.com/@sweep/sweep.

We to deploy it and expose the port. We’re having issues with running:

echo PORT: ${PORT:-8080} redis-server /app/redis.conf --bind 0.0.0.0 --port 6379 & uvicorn sweepai.api:app --host 0.0.0.0 --port ${PORT:-8080}

Hi @sweep , welcome to the forums! It appears that your repl is a Python repl, but you do not have a main.py file to run.
May I ask what file is the main file that you would like to run?

Got it, apologies as I’m new to replit. We want to run uvicorn at sweepai/api.py

Hey @sweep!

Just click the next to “Files” then click “Show hidden files”. Next click on the .replit file and finally you can change the entrypoint to /sweepai/api.py.

Images

Dots

Show hidden files

edited

You should also see the docs on how to configure a Repl: https://docs.replit.com/programming-ide/configuring-repl

And if you want to run the last edited file, take a look at this post: