mirror of
https://github.com/movie-web/movie-web.git
synced 2024-12-29 00:56:05 +00:00
1.6 KiB
1.6 KiB
Selfhosting tutorial
Note: We do not provide support on how to selfhost, if you cant figure it out then tough luck. Please do not make Github issues or ask in our Discord server for support on how to selfhost.
So you wanna selfhost. This app is made of two parts:
- The proxy
- The client
Hosting the proxy
The proxy is made as a cloudflare worker, cloudflare has a generous free plan, so you don't need to pay anything unless you get hundreds of users.
- Create a cloudflare account at https://dash.cloudflare.com
- Navigate to
Workers
. - If it asks you, choose a subdomain
- If it asks for a workers plan, press "Continue with free"
- Create a new service with a name of your choice. Must be type
HTTP handler
- On the service page, Click
Quick edit
- Download the
worker.js
file from the latest release of the proxy: https://github.com/movie-web/simple-proxy/releases/latest - Open the downloaded
worker.js
file in notepad, VScode or similar. - Copy the text contents of the
worker.js
file. - Paste the text contents into the edit screen of the cloudflare service worker.
- Click
Save and deploy
and confirm.
Your proxy is now hosted on cloudflare. Note the url of your worker. you will need it later.
Hosting the client
- Download the file
movie-web.zip
from the latest release: https://github.com/movie-web/movie-web/releases/latest - Extract the zip file so you can edit the files.
Whoops, the rest of this guide hasn't been written yet. Check back soon.