-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c370d4c
commit 02cf141
Showing
9 changed files
with
118 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
hide: | ||
- toc | ||
--- | ||
<style> | ||
.md-typeset h1, | ||
.md-content__button { | ||
display: none; | ||
} | ||
</style> | ||
|
||
### Upload files | ||
|
||
- Create a new account on [Cloudflare](https://dash.cloudflare.com/sign-up){target="_blank"}. | ||
|
||
--- | ||
|
||
- After creating your account, go to this [link](https://dash.cloudflare.com/){target="_blank} and search for `Workers and Pages`, click on it. | ||
|
||
--- | ||
|
||
- Click on the `Create` and then, in the `Pages` section, click on the `Upload assets` button. | ||
|
||
--- | ||
|
||
- Select the project name, your website will be `<project-name>.pages.dev`. Then click on the `Create Project` button. | ||
|
||
--- | ||
|
||
- Then, inside the `WebPatch` folder, select all files and create a zip file. After that, upload the zip file to the Cloudflare. | ||
|
||
--- | ||
|
||
### Publish your patch | ||
|
||
- Click on the `Deploy site` button and wait a few seconds (this can take 5 minutes). You will see a link to your patch. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
--- | ||
hide: | ||
- toc | ||
--- | ||
<style> | ||
.md-typeset h1, | ||
.md-content__button { | ||
display: none; | ||
} | ||
</style> | ||
|
||
### Upload files | ||
|
||
* To upload your patch on Github, first you need a Github account. If you don't have one, you can create it [here](https://github.com/signup){target="_blank"}. Be sure to use a good username, your website will be `<username>.github.io`. | ||
|
||
--- | ||
|
||
* After creating your account, you can create a new repository, you can use this [link](https://github.com/new){target="_blank"}. Be sure to use a good name for your repository, your patch will be available at `<username>.github.io/<repository-name>`. After all configuration, click on the `Create repository` button. | ||
|
||
--- | ||
|
||
* After creating your repository, you will see a weird page with a lot of information. You can ignore all of this and search for the link `uploading an existing file`. Click on it. | ||
|
||
<p align="center"> | ||
<img src="../upload.png" alt="github-upload" width="100%" style="border-radius: 10px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);"> | ||
</p> | ||
|
||
--- | ||
|
||
* After clicking on the link, you will see a page with a box to drag and drop your files. Upload all files inside the `Webpatch` folder. You can select all files and drag them to the box. After that, you can click on the `Commit changes` button. | ||
|
||
--- | ||
<p align="center"> | ||
Wait a few seconds to see your files on the repository. | ||
</p> | ||
|
||
### Publish your patch | ||
|
||
* From your repository page, click on the `Settings` tab. After that, scroll down to the `Pages` section. On the section `Build and deployment`, select the branch `main` and the folder `/root`. After that, click on the `Save` button. | ||
|
||
Wait a few seconds and you will see a link to your patch. You can access your patch using the link `<username>.github.io/<repository-name>`. | ||
|
||
!!! bug "Save button not working?" | ||
Sometimes the `Save` button does not become available for the `/root`, change from `main` to `None` then `Save`, after that, change back to `main` and `Save` again. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
--- | ||
hide: | ||
- toc | ||
--- | ||
<style> | ||
.md-typeset h1, | ||
.md-content__button { | ||
display: none; | ||
} | ||
</style> | ||
|
||
There is a lot of ways to upload your patch, you can use Github, Cloudflare, or even your own server. `Github` and `Cloudflare` are the easiest ways to do it in my opinion. Here some lists of options: | ||
|
||
- [Gitlab](https://about.gitlab.com/){target="_blank"} | ||
- [Bitbucket](https://bitbucket.org/){target="_blank"} | ||
- [Heroku](https://www.heroku.com/){target="_blank"} | ||
- [Netlify](https://www.netlify.com/){target="_blank"} | ||
- [Vercel](https://vercel.com/){target="_blank"} | ||
- [Surge](https://surge.sh/){target="_blank"} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters