Merge 77f137b10a
into 978c7722e4
commit
134a30efda
65
readme.md
65
readme.md
|
@ -20,9 +20,13 @@ Please read the descriptions of settings before raising an issue.
|
|||
|
||||
### How to Install
|
||||
|
||||
> ~~Click the button [](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."`)
|
||||
> ~~Click the button [](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."`)
|
||||
> > (`“我们无法部署您的应用程序,因为源代码违反了 Salesforce 可接受使用和面向外部的服务政策。"`)
|
||||
>
|
||||
> Fork this project, create a heroku app, then turn to Deploy tab, deploy via connect to your github fork.
|
||||
> Fork this project, create a heroku app, then turn to Deploy tab, deploy via connect to your github fork.
|
||||
> > Fork 这个项目,创建一个 heroku 应用程序,然后转到 Deploy 选项卡,通过连接到你的 github fork 进行部署。
|
||||
|
||||
---
|
||||
|
||||
|
@ -50,13 +54,15 @@ Please read the descriptions of settings before raising an issue.
|
|||
|
||||
### Demo
|
||||
|
||||
null
|
||||
暂无
|
||||
|
||||
### Notice
|
||||
|
||||
> 1. you must wait 30-50s to make sure deploy READY after change config;
|
||||
>>1. 您必须等待 30-50 秒以确保在更改配置后部署;
|
||||
>
|
||||
> 2. Vercel limit 100 deploy every day.
|
||||
>>2. Vercel 限制每天部署 100 次。
|
||||
|
||||
### How to Install
|
||||
|
||||
|
@ -81,13 +87,9 @@ Please read the descriptions of settings before raising an issue.
|
|||
### How to Install
|
||||
|
||||
1. 进入函数服务,上方选择地区,然后点击新建。
|
||||
|
||||
2. 输入函数名称,选择模板函数,在模糊搜索中输入onedrive,大小写随意,选择那个【获取onedrive信息.....】,点下一步,在代码界面不用动,直接点完成。
|
||||
|
||||
3. 点击触发管理,创建触发器,触发方式改成API网关触发,底下勾选启用集成响应,提交。
|
||||
|
||||
4. 在触发管理中可以看到一个 访问路径,访问它,开始安装。
|
||||
|
||||
(重点:**勾选集成响应**)
|
||||
|
||||
> **添加网盘时,SCF可能会反应不过来,不跳转到微软,导致添加失败,请不要删除这个盘,再添加一次相同标签的盘就可以了。**
|
||||
|
@ -127,7 +129,7 @@ Please read the descriptions of settings before raising an issue.
|
|||
|
||||
### DEMO
|
||||
|
||||
无
|
||||
暂无
|
||||
|
||||
### How to Install
|
||||
|
||||
|
@ -158,10 +160,10 @@ Please read the descriptions of settings before raising an issue.
|
|||
|
||||
1. 在函数列表,点创建函数
|
||||
2. 创建方式改为空白函数,点下一步
|
||||
3. 输入名称,选择运行时为PHP7.2,点下一步
|
||||
4. 触发器:下拉选择HTTP触发器,URL路径填 /{filepath+} ,HTTP方法全选,身份验证:不验证,点提交
|
||||
5. 进入代码编辑页,编辑类型改上传函数ZIP包,选择文件(这里的ZIP文件不能直接用从Github上下载的ZIP文件,要将它解压后,去掉外层文件夹后,再压缩为ZIP。),开始上传
|
||||
6. 点击右边触发器,复制并访问提供的url,开始安装
|
||||
3. 输入名称,选择运行时为PHP7.2,点下一步
|
||||
4. 触发器:下拉选择HTTP触发器,URL路径填 /{filepath+} ,HTTP方法全选,身份验证:不验证,点提交
|
||||
5. 进入代码编辑页,编辑类型改上传函数ZIP包,选择文件(这里的ZIP文件不能直接用从Github上下载的ZIP文件,要将它解压后,去掉外层文件夹后,再压缩为ZIP。),开始上传
|
||||
6. 点击右边触发器,复制并访问提供的url,开始安装
|
||||
|
||||
---
|
||||
|
||||
|
@ -170,29 +172,29 @@ Please read the descriptions of settings before raising an issue.
|
|||
|
||||
### DEMO
|
||||
|
||||
暂无
|
||||
暂无
|
||||
|
||||
### How to Install
|
||||
|
||||
1. Start web service on your server (httpd or other), make sure you can visit it.
|
||||
|
||||
>启动web服务器,确保你能访问到。
|
||||
> 启动web服务器,确保你能访问到。
|
||||
|
||||
2. Make the rewrite works, the rule is in .htaccess file, make sure any query redirect to index.php.
|
||||
|
||||
>开启伪静态(重写)功能,规则在.htaccess文件中,ngnix从里面复制,我们的目的是不管访问什么都让index.php来处理。
|
||||
|
||||
> 开启伪静态(重写)功能,规则在.htaccess文件中,ngnix从里面复制,我们的目的是不管访问什么都让index.php来处理。
|
||||
|
||||
3. Upload code.
|
||||
|
||||
>上传好代码。
|
||||
> 上传好代码。
|
||||
|
||||
4. Change the file .data/config.php can be read&write (666 is suggested).
|
||||
|
||||
>使web身份可读写代码中的.data/config.php文件,推荐chmod 666 .data/config.php。
|
||||
> 使web身份可读写代码中的.data/config.php文件,推荐chmod 666 .data/config.php。
|
||||
|
||||
5. View the website in chrome or other.
|
||||
|
||||
>在浏览器中访问。
|
||||
> 在浏览器中访问。
|
||||
|
||||
----
|
||||
|
||||
|
@ -246,27 +248,18 @@ show content of index.html as html.
|
|||
|
||||
> 将index.html以静态网页显示出来。
|
||||
|
||||
### head.md
|
||||
|
||||
### readme.md
|
||||
### head.md & readme.md
|
||||
|
||||
it will showed at top or bottom as markdown.
|
||||
|
||||
> 以MD语法显示在顶部或底部。
|
||||
|
||||
### head.omf
|
||||
|
||||
### foot.omf
|
||||
### head.omf & foot.omf
|
||||
|
||||
it will showed at top or bottom as html (javascript works!).
|
||||
|
||||
> 以html显示在顶部或底部(可以跑js)。
|
||||
|
||||
----
|
||||
|
||||
# A cup of coffee
|
||||
|
||||
https://paypal.me/qkqpttgf
|
||||
|
||||
-----
|
||||
|
||||
|
@ -281,3 +274,15 @@ https://paypal.me/qkqpttgf
|
|||
### Telegram Group
|
||||
|
||||
https://t.me/joinchat/I_RVc0bqxuxlT-d0cO7ozw
|
||||
|
||||
----
|
||||
|
||||
# A cup of coffee
|
||||
|
||||
|PayPal|WeChat|
|
||||
|:--:|:--:|
|
||||
|<a href="https://www.paypal.com/paypalme/qkqpttgf"><img src="https://user-images.githubusercontent.com/49548316/136726721-9e1caef8-4288-4974-84fc-1f6398101a4f.png" width="500px"></a>|<img src="https://user-images.githubusercontent.com/49548316/136726627-da91533d-1ad8-415c-ae68-46fbd45b693d.png" width="500px">|
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue