mirror of
https://github.com/movie-web/docs.git
synced 2025-09-13 02:23:40 +00:00
Merge pull request #20 from qtchaos/netlify-proxy
Add Netlify deployment method for hosting the proxy
This commit is contained in:
@@ -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.
|
||||||
|
|
||||||
|
[](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 - Docker
|
## Method 3 - 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 />
|
||||||
|
Reference in New Issue
Block a user