Merge pull request #138 from Mr-Update/patch-1

Spelling improved
This commit is contained in:
RustDesk 2023-02-04 09:14:58 +08:00 committed by GitHub
commit 8d89733108
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 21 deletions

View File

@ -4,47 +4,47 @@ weight: 35
---
{{% notice note %}}
This build uses github actions, you will need a github account, also building can be slow, however this requires no development enviroment.
This build uses github actions, you will need a github account, also building can be slow, however this requires no development environment.
{{% /notice %}}
## Make a Fork
## Make a fork
Goto https://github.com/rustdesk/rustdesk/fork and click "create fork"
Goto https://github.com/rustdesk/rustdesk/fork and click "Create fork".
## Set your enviroment variables (Optional)
## Set your environment variables (optional)
{{% notice note %}}
You only need to do this if you want to change the default server and public key.
The server url and key you are using is hidden from other users on Github however they can download your client and connect to your server. If you require a fully private repo you can import the rustdesk client repo using https://github.com/new/import. **If you use a private repo you have limited amounts of builds you can create per month, if you need more you will need to have a paid Github account.**
The server URL and key you are using is hidden from other users on Github however they can download your client and connect to your server. If you require a fully private repo you can import the rustdesk client repo using https://github.com/new/import. **If you use a private repo you have limited amounts of builds you can create per month, if you need more you will need to have a paid Github account.**
{{% /notice %}}
On your fork you just created goto settings -> Secrets and Variables -> Actions
On your fork you just created goto "Settings -> Secrets and variables -> Actions".
Click New repository Secret for the name put RENDEZVOUS_SERVER for the secret put your servers name/ip address.
Click "New repository secret", for the name put RENDEZVOUS_SERVER, for the secret put your servers name/ip address.
Click Add Secret
Click "Add secret".
Click New repository Secret for the name put RS_PUB_KEY for the secret put your servers public key.
Click "New repository secret", for the name put RS_PUB_KEY, for the secret put your servers public key.
Click Add Secret
Click "Add secret".
## Enable workflows
On your fork you just created goto settings -> Actions -> General
On your fork you just created goto "Settings -> Actions -> General".
On the right select "Allow all actions and reusable workflows"
On the right select "Allow all actions and reusable workflows".
Once workflows are enabled you can click "Flutter Nightly Build" on the left then click "Run workflow" on the right to build the rustdesk clients for all of the supported platforms.
## Enable upload permissions for workflows
On your fork you just created goto settings -> Actions -> General
On your fork you just created goto "Settings -> Actions -> General".
Scroll down and under Workflow permissions enable "Read and Write permissions.
Scroll down and under Workflow permissions enable "Read and write permissions".
## Download your built packages
After the workflow is done running you can download the packages it built.
Goto the main page of your fork, on the right click releases. The packages you just built will show up under nightly.
Goto the main page of your fork, on the right click "Releases". The packages you just built will show up under "Nightly".

View File

@ -5,18 +5,18 @@ weight: 49
## Custom Server
{{% notice note %}}
To hardcode custom server settings into your executables you must [build](/docs/en/dev/build/) the client youself.
To hardcode custom server settings into your executables you must [build](/docs/en/dev/build/) the client yourself.
{{% /notice %}}
{{% notice note %}}
**If you set eaither of these values without setting the other your executable will not work!**
**If you set either of these values without setting the other your executable will not work!**
{{% /notice %}}
You can set the following enviroment variables on your os and rustdesk will use those variables when compiling your client rather than the default rustdesk.com servers.
You can set the following environment variables on your OS and rustdesk will use those variables when compiling your client rather than the default rustdesk.com servers.
If you do not know how to set an enviroment variable on your system you should be able to find documentation for your os online that will explain this.
If you do not know how to set an environment variable on your system you should be able to find documentation for your OS online that will explain this.
#### RENDEZVOUS_SERVER
This variable should be set to your server url.
This variable should be set to your server URL.
This should be a string such as
```
@ -24,7 +24,7 @@ rustdesk.my-domain.com
```
#### RS_PUB_KEY
This variable will be your public key, more information on the key is aviable [Here](/docs/en/self-host/install/#key)
This variable will be your public key, more information on the key is available [here](/docs/en/self-host/install/#key).
This should be a string such as
```