mirror of
https://github.com/pooneyy/1Panel-Appstore.git
synced 2026-03-17 23:51:03 +08:00
Update Readme
This commit is contained in:
parent
c36542f295
commit
3d7e945772
68
README-en.md
68
README-en.md
@ -48,76 +48,14 @@ Dedicated to running various Docker applications with just one click. Enjoy conv
|
|||||||
|
|
||||||
## 2. Usage
|
## 2. Usage
|
||||||
|
|
||||||
The default installation path of `1Panel` is `/opt/`, which can be modified as needed.
|
|
||||||
|
|
||||||
### 2.1 Domestic Network
|
|
||||||
|
|
||||||
> GitHub Acceleration Methods
|
|
||||||
>> - (Added to this repository) Self-built: https://github.com/hunshcn/gh-proxy
|
|
||||||
>> - https://ghp.ci
|
|
||||||
|
|
||||||
#### 2.1.1 Getting Apps via Git Command
|
|
||||||
|
|
||||||
In the `Shell Script` task type in the `1Panel` scheduled tasks, add and execute the following command, or run the following command in the terminal:
|
In the `Shell Script` task type in the `1Panel` scheduled tasks, add and execute the following command, or run the following command in the terminal:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone -b localApps https://ghp.ci/https://github.com/pooneyy/1Panel-appstore /opt/1panel/resource/apps/local/appstore-localApps
|
curl -sSL https://raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh | bash
|
||||||
|
|
||||||
cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
```
|
```
|
||||||
|
OR
|
||||||
Then refresh the local applications in the app store.
|
|
||||||
|
|
||||||
#### 2.1.2 Getting Apps via Compressed Package
|
|
||||||
|
|
||||||
In the `Shell Script` task type in the `1Panel` scheduled tasks, add and execute the following command, or run the following command in the terminal:
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
wget -P /opt/1panel/resource/apps/local https://ghp.ci/https://github.com/pooneyy/1Panel-appstore/archive/refs/heads/localApps.zip
|
curl -sSL https://gh-proxy.com/raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh | bash
|
||||||
|
|
||||||
unzip -o -d /opt/1panel/resource/apps/local/ /opt/1panel/resource/apps/local/localApps.zip
|
|
||||||
|
|
||||||
cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/localApps.zip
|
|
||||||
```
|
|
||||||
|
|
||||||
Then refresh the local applications in the app store.
|
|
||||||
|
|
||||||
### 2.2 International Network
|
|
||||||
|
|
||||||
#### 2.2.1 Getting Apps via Git Command
|
|
||||||
|
|
||||||
In the `Shell Script` task type in the `1Panel` scheduled tasks, add and execute the following command, or run the following command in the terminal:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
git clone -b localApps https://github.com/pooneyy/1Panel-appstore /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
|
|
||||||
cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
```
|
|
||||||
|
|
||||||
Then refresh the local applications in the app store.
|
|
||||||
|
|
||||||
#### 2.2.2 Getting Apps via Compressed Package
|
|
||||||
|
|
||||||
In the `Shell Script` task type in the `1Panel` scheduled tasks, add and execute the following command, or run the following command in the terminal:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
wget -P /opt/1panel/resource/apps/local https://github.com/pooneyy/1Panel-appstore/archive/refs/heads/localApps.zip
|
|
||||||
|
|
||||||
unzip -o -d /opt/1panel/resource/apps/local/ /opt/1panel/resource/apps/local/localApps.zip
|
|
||||||
|
|
||||||
cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/localApps.zip
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Then refresh the local applications in the app store.
|
Then refresh the local applications in the app store.
|
||||||
|
|||||||
66
README.md
66
README.md
@ -53,72 +53,14 @@
|
|||||||
|
|
||||||
## 2. 使用方式
|
## 2. 使用方式
|
||||||
|
|
||||||
默认`1Panel`安装在`/opt/`路径下,如果不是按需修改以下。
|
|
||||||
|
|
||||||
### 2.1 国内网络
|
|
||||||
|
|
||||||
> GitHub加速方式
|
|
||||||
>> - (本仓库已添加)自建:https://github.com/hunshcn/gh-proxy
|
|
||||||
>> - https://ghp.ci
|
|
||||||
|
|
||||||
#### 2.1.1 使用 git 命令获取应用
|
|
||||||
|
|
||||||
`1Panel`计划任务类型`Shell 脚本`的计划任务框里,添加并执行以下命令,或者终端运行以下命令,
|
`1Panel`计划任务类型`Shell 脚本`的计划任务框里,添加并执行以下命令,或者终端运行以下命令,
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
git clone -b localApps https://ghp.ci/https://github.com/pooneyy/1Panel-appstore /opt/1panel/resource/apps/local/appstore-localApps
|
curl -sSL https://raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh | bash
|
||||||
|
|
||||||
cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
```
|
```
|
||||||
|
或者
|
||||||
然后应用商店刷新本地应用即可。
|
|
||||||
|
|
||||||
#### 2.1.2 使用压缩包方式获取应用
|
|
||||||
|
|
||||||
`1Panel`计划任务类型`Shell 脚本`的计划任务框里,添加并执行以下命令,或者终端运行以下命令,
|
|
||||||
```shell
|
```shell
|
||||||
wget -P /opt/1panel/resource/apps/local https://ghp.ci/https://github.com/pooneyy/1Panel-appstore/archive/refs/heads/localApps.zip
|
curl -sSL https://gh-proxy.com/raw.githubusercontent.com/pooneyy/1Panel-Appstore/refs/heads/script/update_local_appstore.sh | bash
|
||||||
|
|
||||||
unzip -o -d /opt/1panel/resource/apps/local/ /opt/1panel/resource/apps/local/localApps.zip
|
|
||||||
|
|
||||||
cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/localApps.zip
|
|
||||||
```
|
|
||||||
|
|
||||||
然后应用商店刷新本地应用即可。
|
|
||||||
|
|
||||||
### 2.2 国际互联网络
|
|
||||||
|
|
||||||
#### 2.2.1 使用 git 命令获取应用
|
|
||||||
|
|
||||||
`1Panel`计划任务类型`Shell 脚本`的计划任务框里,添加并执行以下命令,或者终端运行以下命令,
|
|
||||||
```shell
|
|
||||||
git clone -b localApps https://github.com/pooneyy/1Panel-appstore /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
|
|
||||||
cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
```
|
|
||||||
|
|
||||||
然后应用商店刷新本地应用即可。
|
|
||||||
|
|
||||||
#### 2.2.2 使用压缩包方式获取应用
|
|
||||||
|
|
||||||
`1Panel`计划任务类型`Shell 脚本`的计划任务框里,添加并执行以下命令,或者终端运行以下命令,
|
|
||||||
```shell
|
|
||||||
wget -P /opt/1panel/resource/apps/local https://github.com/pooneyy/1Panel-appstore/archive/refs/heads/localApps.zip
|
|
||||||
|
|
||||||
unzip -o -d /opt/1panel/resource/apps/local/ /opt/1panel/resource/apps/local/localApps.zip
|
|
||||||
|
|
||||||
cp -rf /opt/1panel/resource/apps/local/appstore-localApps/apps/* /opt/1panel/resource/apps/local/
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/appstore-localApps
|
|
||||||
|
|
||||||
rm -rf /opt/1panel/resource/apps/local/localApps.zip
|
|
||||||
```
|
```
|
||||||
|
|
||||||
然后应用商店刷新本地应用即可。
|
然后应用商店刷新本地应用即可。
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user