- Clone the repository wherever you want with
git clone https://github.com/Taarek/sharex-server. - Install Poetry instructions can be found here.
- Run
poetry installin the cloned folder afterwards.
-
If you don't want to install Poetry, use
pip install -r requirements.txtinstead.⚠
uvloopis only installable on *nix systems, Windows is not supported, but you can still use this without uvloop. :)
- Configure the
config.tomlfile to your liking. - Configure the
sharex_config.sxcuconfig file, specifically theRequestURLkey.
After all that is done, you need to setup a reverse proxy that can also serve static content out of your specified folders in config.toml, I personally recommend Caddy, but nginx works too. I do not recommend Apache though, for reasons...
After all that's done, you need to start the FastAPI app. There are some instructions here. I recommend using gunicorn with binding to uvicorn, instructed here