Merge branch 'master' into extra

This commit is contained in:
chaos 2024-01-10 21:49:59 +02:00 committed by GitHub
commit c43a2ebd5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 4 deletions

View File

@ -1,3 +1,4 @@
# movie-web docs # movie-web docs
Find it at https://docs.movie-web.app/ Find it at https://docs.movie-web.app/

View File

@ -4,7 +4,21 @@ title: 'Deploy'
# Deploying the proxy # Deploying the proxy
## Method 1 - Cloudflare (Easy) ## Method 1 - Netlify (Easy)
Netlify has a very generous free plan, so you'll be able to host your proxy for free unless you get hundreds of users.
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/movie-web/simple-proxy){target="\_blank"}
1. Create a GitHub account at https://github.com/signup if you don't have one already.
1. Click on the `Deploy to Netlify` button above.
1. Authorize Netlify to connect with GitHub by clicking the `Connect to GitHub` button.
1. There should now be a `Save & Deploy` button, click it.
1. Once the deployment is complete, click on the `Get Started` button that pops up, this will redirect you to the dashboard of your site.
1. Click on the only site in the `Sites` section of your dashboard.
1. Find the link of your site near the top of the page, it should look something like `https://<random-words>.netlify.app`. Right click the link, click `Copy link address`. Now you'll just have to set up the client!
## Method 2 - Cloudflare (Easy)
Cloudflare has a generous free plan, so you don't need to pay anything unless you get hundreds of users. Cloudflare has a generous free plan, so you don't need to pay anything unless you get hundreds of users.
@ -33,7 +47,7 @@ Cloudflare has a generous free plan, so you don't need to pay anything unless yo
1. You can click the [`Worker dash`](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages){target="\_blank"} and `GitHub repo` buttons to see the status of the deploy. 1. You can click the [`Worker dash`](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages){target="\_blank"} and `GitHub repo` buttons to see the status of the deploy.
1. When the worker has deployed, you will need to take note of the URL. This can be found on Cloudflare under [Workers and Pages -> Overview](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages){target="\_blank"} -> Proxy. 1. When the worker has deployed, you will need to take note of the URL. This can be found on Cloudflare under [Workers and Pages -> Overview](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages){target="\_blank"} -> Proxy.
## Method 1 - Cloudflare (Manual) ## Method 2 - Cloudflare (Manual)
1. Login to your Cloudflare account if you have one, otherwise create one [here](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages) 1. Login to your Cloudflare account if you have one, otherwise create one [here](https://dash.cloudflare.com/sign-up?to=/:account/workers-and-pages)
1. If you are signing up for an account, make sure to verify your email before going further! 1. If you are signing up for an account, make sure to verify your email before going further!
@ -52,7 +66,7 @@ Cloudflare has a generous free plan, so you don't need to pay anything unless yo
1. Your worker is now deployed! You can click the back button in the top left to take you back to the summary screen. 1. Your worker is now deployed! You can click the back button in the top left to take you back to the summary screen.
1. On the summary screen, your worker link will be displayed under `Preview`. Right click the link, click `Copy link address` and save the link somewhere - you will need it to set up the client! 1. On the summary screen, your worker link will be displayed under `Preview`. Right click the link, click `Copy link address` and save the link somewhere - you will need it to set up the client!
## Method 2 - Railway (Easy) ## Method 3 - Railway (Easy)
Railway offers you $5 of credit once you verify your account, which is enough to run the proxy for around 5-7 months. Railway offers you $5 of credit once you verify your account, which is enough to run the proxy for around 5-7 months.
@ -67,7 +81,7 @@ Railway offers you $5 of credit once you verify your account, which is enough to
1. Once the proxy has deployed, copy the URL from the `Deployments` page. 1. Once the proxy has deployed, copy the URL from the `Deployments` page.
1. Congratulations! You have deployed the proxy, you can now set up the client. 1. Congratulations! You have deployed the proxy, you can now set up the client.
## Method 3 - Docker ## Method 4 - Docker
::alert{type="warning"} ::alert{type="warning"}
Experience with Docker, domains and web hosting is **highly recommended** for this method. <br /> Experience with Docker, domains and web hosting is **highly recommended** for this method. <br />