mirror of
https://github.com/p-stream/docs.git
synced 2026-03-11 17:55:39 +00:00
update some docs
This commit is contained in:
parent
b3f10b87bc
commit
c3c94ded11
2 changed files with 61 additions and 57 deletions
|
|
@ -4,59 +4,7 @@ title: 'Deploy'
|
||||||
|
|
||||||
# Deploying the client
|
# Deploying the client
|
||||||
|
|
||||||
## Method 1 - Vercel - Recommended
|
## Method 1 - Cloudflare Pages (Best host)
|
||||||
|
|
||||||
<Steps>
|
|
||||||
<Steps.Step>
|
|
||||||
Click [here](https://github.com/sussy-code/smov/fork) to fork the P-Stream
|
|
||||||
Github repository
|
|
||||||
</Steps.Step>
|
|
||||||
|
|
||||||
<Steps.Step>Click [here](https://vercel.com/) to go to Vercel</Steps.Step>
|
|
||||||
|
|
||||||
<Steps.Step>Sign in using either a GitHub, GitLab, or Bitbucket.</Steps.Step>
|
|
||||||
|
|
||||||
<Steps.Step>
|
|
||||||
Clicking the "New Project" button on the top right of your dashboard and
|
|
||||||
following the steps to create a new project for your self hosted version of
|
|
||||||
movie web.
|
|
||||||
</Steps.Step>
|
|
||||||
|
|
||||||
<Steps.Step>
|
|
||||||
After clicking it, you'll be presented with a list of Git repositories that
|
|
||||||
the Git account you've signed up with has write access to.
|
|
||||||
</Steps.Step>
|
|
||||||
|
|
||||||
<Steps.Step>
|
|
||||||
Select your own fork of the P-Stream Github repository.
|
|
||||||
</Steps.Step>
|
|
||||||
|
|
||||||
<Steps.Step>
|
|
||||||
Configure the environment variables: - `VITE_CORS_PROXY_URL`: Enter your
|
|
||||||
proxy URL here. Make sure to not have a slash at the end of your URL.
|
|
||||||
Example (THIS IS AN EXAMPLE, IT WON'T WORK FOR YOU):
|
|
||||||
`https://test-proxy.test.workers.dev` - `VITE_TMDB_READ_API_KEY`: Enter your
|
|
||||||
TMDB Read Access Token here. Please read [the TMDB page](./tmdb.mdx) on how
|
|
||||||
to get an API key. - `VITE_BACKEND_URL`: Only set if you have a self-hosted
|
|
||||||
backend. Put in your backend URL. Check out [configuration
|
|
||||||
reference](../client/configuration.mdx) for details. Make sure to not have a
|
|
||||||
slash at the end of the URL.
|
|
||||||
</Steps.Step>
|
|
||||||
|
|
||||||
<Steps.Step>Click "Deploy"</Steps.Step>
|
|
||||||
|
|
||||||
<Steps.Step>
|
|
||||||
Congrats! You have your own version of P-Stream hosted.
|
|
||||||
</Steps.Step>
|
|
||||||
|
|
||||||
<Steps.Step>
|
|
||||||
You may wish to configure a custom domain - Please consult [the Vercel docs
|
|
||||||
for how to do
|
|
||||||
this](https://vercel.com/docs/getting-started-with-vercel/domains).
|
|
||||||
</Steps.Step>
|
|
||||||
</Steps>
|
|
||||||
|
|
||||||
## Method 2 - Cloudflare Pages (Best host)
|
|
||||||
|
|
||||||
<Steps>
|
<Steps>
|
||||||
<Steps.Step>
|
<Steps.Step>
|
||||||
|
|
@ -127,6 +75,58 @@ title: 'Deploy'
|
||||||
</Steps.Step>
|
</Steps.Step>
|
||||||
</Steps>
|
</Steps>
|
||||||
|
|
||||||
|
## Method 2 - Vercel (Might be broken idk)
|
||||||
|
|
||||||
|
<Steps>
|
||||||
|
<Steps.Step>
|
||||||
|
Click [here](https://github.com/sussy-code/smov/fork) to fork the P-Stream
|
||||||
|
Github repository
|
||||||
|
</Steps.Step>
|
||||||
|
|
||||||
|
<Steps.Step>Click [here](https://vercel.com/) to go to Vercel</Steps.Step>
|
||||||
|
|
||||||
|
<Steps.Step>Sign in using either a GitHub, GitLab, or Bitbucket.</Steps.Step>
|
||||||
|
|
||||||
|
<Steps.Step>
|
||||||
|
Clicking the "New Project" button on the top right of your dashboard and
|
||||||
|
following the steps to create a new project for your self hosted version of
|
||||||
|
movie web.
|
||||||
|
</Steps.Step>
|
||||||
|
|
||||||
|
<Steps.Step>
|
||||||
|
After clicking it, you'll be presented with a list of Git repositories that
|
||||||
|
the Git account you've signed up with has write access to.
|
||||||
|
</Steps.Step>
|
||||||
|
|
||||||
|
<Steps.Step>
|
||||||
|
Select your own fork of the P-Stream Github repository.
|
||||||
|
</Steps.Step>
|
||||||
|
|
||||||
|
<Steps.Step>
|
||||||
|
Configure the environment variables: - `VITE_CORS_PROXY_URL`: Enter your
|
||||||
|
proxy URL here. Make sure to not have a slash at the end of your URL.
|
||||||
|
Example (THIS IS AN EXAMPLE, IT WON'T WORK FOR YOU):
|
||||||
|
`https://test-proxy.test.workers.dev` - `VITE_TMDB_READ_API_KEY`: Enter your
|
||||||
|
TMDB Read Access Token here. Please read [the TMDB page](./tmdb.mdx) on how
|
||||||
|
to get an API key. - `VITE_BACKEND_URL`: Only set if you have a self-hosted
|
||||||
|
backend. Put in your backend URL. Check out [configuration
|
||||||
|
reference](../client/configuration.mdx) for details. Make sure to not have a
|
||||||
|
slash at the end of the URL.
|
||||||
|
</Steps.Step>
|
||||||
|
|
||||||
|
<Steps.Step>Click "Deploy"</Steps.Step>
|
||||||
|
|
||||||
|
<Steps.Step>
|
||||||
|
Congrats! You have your own version of P-Stream hosted.
|
||||||
|
</Steps.Step>
|
||||||
|
|
||||||
|
<Steps.Step>
|
||||||
|
You may wish to configure a custom domain - Please consult [the Vercel docs
|
||||||
|
for how to do
|
||||||
|
this](https://vercel.com/docs/getting-started-with-vercel/domains).
|
||||||
|
</Steps.Step>
|
||||||
|
</Steps>
|
||||||
|
|
||||||
## Method 3 - Static Web Host
|
## Method 3 - Static Web Host
|
||||||
|
|
||||||
<Steps>
|
<Steps>
|
||||||
|
|
@ -177,6 +177,8 @@ title: 'Deploy'
|
||||||
|
|
||||||
## Method 4 - Docker Compose - Home Network
|
## Method 4 - Docker Compose - Home Network
|
||||||
|
|
||||||
|
Docker is not recommended! It's much easier to host the static site and use a proxy like nginx to access.
|
||||||
|
|
||||||
This method is meant for those using a desktop device or single board computer with a minimum of 4GB of RAM such as a [Raspberry Pi](https://www.raspberrypi.com/) to run P-Stream on there home network for network connected devices.
|
This method is meant for those using a desktop device or single board computer with a minimum of 4GB of RAM such as a [Raspberry Pi](https://www.raspberrypi.com/) to run P-Stream on there home network for network connected devices.
|
||||||
|
|
||||||
<Steps>
|
<Steps>
|
||||||
|
|
|
||||||
|
|
@ -23,10 +23,12 @@ export default function LandingPage() {
|
||||||
and open source, forever!
|
and open source, forever!
|
||||||
</Hero.Subtitle>
|
</Hero.Subtitle>
|
||||||
<Hero.Actions>
|
<Hero.Actions>
|
||||||
<Button to="/self-hosting/hosting-intro">Get Started</Button>
|
<div style={{ display: 'flex', gap: '1em' }}>
|
||||||
<Button to="https://github.com/sussy-code/smov" type="secondary">
|
<Button to="/self-hosting/hosting-intro">Get Started</Button>
|
||||||
Open on GitHub
|
<Button to="https://github.com/Pasithea0/smov" type="secondary">
|
||||||
</Button>
|
Open on GitHub
|
||||||
|
</Button>
|
||||||
|
</div>
|
||||||
</Hero.Actions>
|
</Hero.Actions>
|
||||||
</Hero>
|
</Hero>
|
||||||
<Frame plain={true}>
|
<Frame plain={true}>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue