- Clone the repository wherever you want with
git clone https://github.com/Taarek/sharex-server
. - Install Poetry instructions can be found here.
- Run
poetry install
in the cloned folder afterwards.
-
If you don't want to install Poetry, use
pip install -r requirements.txt
instead.⚠
uvloop
is only installable on *nix systems, Windows is not supported, but you can still use this without uvloop. :)
- Configure the
config.toml
file to your liking. - Configure the
sharex_config.sxcu
config file, specifically theRequestURL
key.
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