OneManager-php/readme.md

207 lines
4.0 KiB
Markdown
Raw Permalink Normal View History

2021-10-15 02:56:32 +00:00
[中文readme](readme_cn.md)
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
# NOTICE:
2021-10-04 10:57:06 +00:00
2021-11-08 10:55:59 +00:00
The Releases is used as archive, not newest code.
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
Please read the descriptions of settings before raising an issue.
2021-10-04 10:57:06 +00:00
---
2020-03-09 00:46:48 +00:00
2020-06-19 07:20:48 +00:00
# Deploy to Heroku
2020-02-21 05:53:45 +00:00
2021-10-04 10:57:06 +00:00
### Official
2021-10-15 02:56:32 +00:00
https://heroku.com
2021-10-04 10:57:06 +00:00
### Demo
2021-10-15 02:56:32 +00:00
https://herooneindex.herokuapp.com/
2021-10-04 10:57:06 +00:00
### How to Install
2021-08-20 10:56:14 +00:00
> ~~Click the button [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) to Deploy a new app~~(`"We couldn't deploy your app because the source code violates the Salesforce Acceptable Use and External-Facing Services Policy."`)
2021-10-04 10:57:06 +00:00
>
2021-10-15 02:56:32 +00:00
> Star this project, then Fork, create a app in Heroku, then turn to the Deploy tab, "Deployment method" via "Connect GitHub", select your github fork.
2020-02-21 05:53:45 +00:00
2021-10-04 10:57:06 +00:00
---
2020-02-21 05:53:45 +00:00
2020-11-06 10:10:34 +00:00
# Deploy to Glitch
2021-10-04 10:57:06 +00:00
### Official
2021-10-15 02:56:32 +00:00
https://glitch.com/
2021-10-04 10:57:06 +00:00
### Demo
2021-10-15 02:56:32 +00:00
https://onemanager.glitch.me/
2021-10-04 10:57:06 +00:00
### How to Install
2021-10-15 02:56:32 +00:00
[New Project] -> [Import form Github] -> paste "https://github.com/qkqpttgf/OneManager-php" , after done, [Show] -> [In a New Window].
2020-11-06 10:10:34 +00:00
2021-10-04 10:57:06 +00:00
---
2020-11-06 10:10:34 +00:00
2021-08-05 10:14:47 +00:00
# Deploy to Vercel
2021-10-04 10:57:06 +00:00
### Official
2021-08-05 10:14:47 +00:00
2021-10-15 02:56:32 +00:00
https://vercel.com/
2021-10-04 10:57:06 +00:00
### Demo
2021-10-15 02:56:32 +00:00
https://onemanager-php.vercel.app/
2021-10-04 10:57:06 +00:00
### Notice
> 1. you must wait 30-50s to make sure deploy READY after change config;
>
> 2. Vercel limit 100 deploy every day.
### How to Install
2021-10-15 02:56:32 +00:00
https://scfonedrive.github.io/Vercel/Deploy.html .
2021-10-04 10:57:06 +00:00
---
2021-08-05 10:14:47 +00:00
2021-10-15 02:56:32 +00:00
# Deploy to Tencent Serverless Cloud Function (SCF)
2020-06-11 06:41:35 +00:00
2021-10-04 10:57:06 +00:00
### Official
2021-10-15 02:56:32 +00:00
https://cloud.tencent.com/product/scf
2021-10-04 10:57:06 +00:00
### DEMO
2021-10-15 02:56:32 +00:00
null
2021-10-04 10:57:06 +00:00
### How to Install
2020-09-28 10:08:06 +00:00
2021-10-15 02:56:32 +00:00
see CN readme.
2021-10-04 10:57:06 +00:00
----
2020-06-11 06:41:35 +00:00
2021-10-15 02:56:32 +00:00
# Deploy to Huawei cloud Function Graph (FG)
2020-07-13 09:54:20 +00:00
2021-10-04 10:57:06 +00:00
### Official
2021-10-15 02:56:32 +00:00
https://console.huaweicloud.com/functiongraph/
2020-07-13 09:54:20 +00:00
2021-10-04 10:57:06 +00:00
### DEMO
2021-10-15 02:56:32 +00:00
null
2021-10-04 10:57:06 +00:00
### How to Install
2021-10-15 02:56:32 +00:00
see CN readme.
2021-10-04 10:57:06 +00:00
----
2020-07-13 09:54:20 +00:00
2021-10-15 02:56:32 +00:00
# Deploy to Aliyun Function Compute (FC)
2020-06-07 10:55:18 +00:00
2021-10-04 10:57:06 +00:00
### Official:
2021-10-15 02:56:32 +00:00
https://fc.console.aliyun.com/
2020-06-07 10:55:18 +00:00
2021-10-04 10:57:06 +00:00
### DEMO
2021-10-15 02:56:32 +00:00
null
2021-10-04 10:57:06 +00:00
### How to Install
2021-10-15 02:56:32 +00:00
see CN readme.
2021-10-04 10:57:06 +00:00
---
2020-06-11 06:41:35 +00:00
2021-10-15 02:56:32 +00:00
# Deploy to Baidu Cloud Function Compute (CFC)
2020-08-16 03:43:41 +00:00
2021-10-04 10:57:06 +00:00
### Official
2021-10-15 02:56:32 +00:00
https://console.bce.baidu.com/cfc/#/cfc/functions
2021-10-04 10:57:06 +00:00
### DEMO
2021-10-15 02:56:32 +00:00
null
2021-10-04 10:57:06 +00:00
### How to Install
2021-10-15 02:56:32 +00:00
see CN readme.
2021-10-04 10:57:06 +00:00
---
2021-05-25 01:29:23 +00:00
2021-10-15 02:56:32 +00:00
# Deploy to Virtual Private Server (VPS) or php host
2020-08-16 03:43:41 +00:00
2021-10-04 10:57:06 +00:00
### DEMO
2021-10-15 02:56:32 +00:00
null
2021-10-04 10:57:06 +00:00
### How to Install
1. Start web service on your server (httpd or other), make sure you can visit it.
2. Make the rewrite works, the rule is in .htaccess file, make sure any query redirect to index.php.
3. Upload code.
4. Change the file .data/config.php can be read&write (666 is suggested).
5. View the website in chrome or other.
----
2020-08-16 03:43:41 +00:00
2021-10-15 02:56:32 +00:00
# Features
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
When downloading files, the program produce a direct url, visitor download files from MS OFFICE via the direct url, the server expend a few bandwidth in produce.
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
When uploading files, the program produce a direct url, visitor upload files to MS OFFICE via the direct url, the server expend a few bandwidth in produce.
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
The XXX_path in setting is the path in Onedrive, not in url, program will find the path in Onedrive.
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
LOGO ICON: put your 'favicon.ico' in the path you showed, make sure xxxxx.com/favicon.ico can be visited.
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
Program will show content of 'readme.md' & 'head.md'.
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
guest upload path, is a folder that the guest can upload files, but can not be list (exclude admin).
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
If there is 'index.html' file, program will only show the content of 'index.html', not list the files.
2021-10-04 10:57:06 +00:00
2021-10-15 02:56:32 +00:00
Click 'EditTime' or 'Size', the list will sort by time or size, Click 'File' can resume sort.
2021-10-04 10:57:06 +00:00
----
2021-10-15 02:56:32 +00:00
# Functional files
2021-10-04 10:57:06 +00:00
### favicon.ico
2021-10-15 02:56:32 +00:00
put it in the showing home folder of FIRST disk (maybe not root of onedrive).
2021-10-04 10:57:06 +00:00
### index.html
2021-10-15 02:56:32 +00:00
show content of index.html as html.
2021-10-04 10:57:06 +00:00
### head.md
### readme.md
2021-10-15 02:56:32 +00:00
it will showed at top or bottom as markdown.
2021-10-04 10:57:06 +00:00
### head.omf
### foot.omf
2021-10-15 02:56:32 +00:00
it will showed at top or bottom as html (javascript works!).
2021-10-04 10:57:06 +00:00
----
# A cup of coffee
2021-10-15 02:56:32 +00:00
https://paypal.me/qkqpttgf
2021-08-06 10:29:33 +00:00
2021-10-04 10:57:06 +00:00
-----
# Chat
### Telegram Group
2021-10-15 02:56:32 +00:00
https://t.me/joinchat/I_RVc0bqxuxlT-d0cO7ozw