Joe theme is automatically updated

 HaoOuBa
2021-02-20 / 62 Comments / 7507 Reading / Checking whether to include
reminder:
This article was last updated on April 27, 2021, and has not been updated for more than 1248 days. If the content or picture is invalid, please leave a message for feedback.
After the Joe theme was updated to version 5.0.0, many functions were not added because it was a refactored version, so it needs to be updated frequently, but every time it is updated, it needs to download the old version, delete the old version, and upload the new version. Today, there is an automatic update tutorial shared by individuals in the group that is well written, so I will add more details

Step 1: Clone the theme

1. First enter the blog themes Folder

 kns6p3d3.png

2. Click terminal Button, a black window appears

 kns6q7dh.png

3. Enter the following command in this window and press Enter

 git clone  https://github.com/HaoOuBa/Joe.git

The following figure shows success

 kns6srd6.png

4. Refresh the current page, and you will find that there is an additional Joe Contents of

 kns6ucsi.png

Step 2: Set automatic update theme

1. Enter the pagoda Scheduled Task page

 kldn3mm0.png

2. Task type selection Shell script

3. You can write any task name. For example, I wrote: Joe theme update

4. The execution cycle is how often it is updated. This can be written freely. For example, I set an update detection every 30 minutes

5. The script content is filled in as follows. Please note that you need to replace the website directory with your

 #!/ bin/sh Cd/www/wwwroot/website directory/usr/themes/Joe git pull

The complete settings are as follows

 kldn3rul.png

Step 4: judge whether it is normal

1. After the above steps are completed, click here implement

 kldn41or.png

2. Then click implement Right journal Button, if the content is shown as follows, it means there is no problem

 kldn459n.png

sixty-six

Comments (62)

cancel
  1.  head portrait
    one
    Windows 10 · Google Chrome

     Draw

    reply
  2.  head portrait
    ✈️
    Android · Google Chrome

    Picture hangs

    reply
  3.  head portrait
    Lao Li
    Windows 10 · Google Chrome

    Thanks to the blogger. He has used the theme of Joe for more than two years and has been studying and researching. I wish the blogger a smooth work and a happy family!

    reply
  4.  head portrait
    Harvard Records
    Android · Google Chrome

     Draw

    reply
  5.  head portrait
    Cattle
    Windows 10 · Google Chrome

     Draw

    reply
  6.  head portrait
    hey
    MacOS · Google Chrome

     Draw

    reply
  7.  head portrait
    You Chen
    iPhone · Safari

     Draw

    reply
  8.  head portrait
    。。。
    Android Pie · Google Chrome

     Draw

    reply
  9.  head portrait
    one
    iPhone · Safari

     Draw

    reply
  10.  head portrait
    spider
    Windows 10 · Google Chrome

     Draw

    reply