Add files via upload

pull/13/head
qkqpttgf 2020-01-18 01:04:25 +08:00 committed by GitHub
parent c489399fc9
commit 370c5599cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 24 additions and 2 deletions

7
app.json Normal file
View File

@ -0,0 +1,7 @@
{
"name": "herokuOnedrive",
"description": "Deploy herokuOnedrive to heroku",
"website": "https://github.com/qkqpttgf/herokuOnedrive",
"repository": "https://github.com/qkqpttgf/herokuOnedrive",
"success_url": "/"
}

View File

@ -169,7 +169,7 @@ language:<br>';
<label><input type="radio" name="language" value="'.$key1.'" '.($key1==$constStr['language']?'checked':'').' onclick="changelanguage(\''.$key1.'\')">'.$value1.'</label><br>'; <label><input type="radio" name="language" value="'.$key1.'" '.($key1==$constStr['language']?'checked':'').' onclick="changelanguage(\''.$key1.'\')">'.$value1.'</label><br>';
} }
if (getConfig('APIKey')=='') $html .= ' if (getConfig('APIKey')=='') $html .= '
<a href="https://console.cloud.tencent.com/cam/capi" target="_blank">'.getconstStr('Create').' API Key</a><br> <a href="https://dashboard.heroku.com/account" target="_blank">'.getconstStr('Create').' API Key</a><br>
<label>API Key:<input name="APIKey" type="text" placeholder="" size=""></label><br>'; <label>API Key:<input name="APIKey" type="text" placeholder="" size=""></label><br>';
$html .= ' $html .= '
<label>admin:<input name="admin" type="password" placeholder="' . getconstStr('EnvironmentsDescription')['admin'] . '" size="' . strlen(getconstStr('EnvironmentsDescription')['admin']) . '"></label><br>'; <label>admin:<input name="admin" type="password" placeholder="' . getconstStr('EnvironmentsDescription')['admin'] . '" size="' . strlen(getconstStr('EnvironmentsDescription')['admin']) . '"></label><br>';

11
readme.md Normal file
View File

@ -0,0 +1,11 @@
# Deploy to SCF
https://cloud.tencent.com/product/scf
Install: https://service-pgxgvop2-1258064400.ap-hongkong.apigateway.myqcloud.com/test/abcdef/%E6%97%A0%E6%9C%8D%E5%8A%A1%E5%99%A8%E5%87%BD%E6%95%B0SCF%E6%90%AD%E5%BB%BAOneDrive.mp4?preview
DEMO: https://service-pgxgvop2-1258064400.ap-hongkong.apigateway.myqcloud.com/test/abcdef/
# Deploy to heroku
https://heroku.com
Click the button [![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) to Deploy a new app, or create an app then deploy by connect github.
DEMO: https://herooneindex.herokuapp.com/

View File

@ -1 +1,2 @@
adsf 20200118.01
SCF、heroku、普通VPS三种环境都可以用了。

3
writeable.sh Normal file
View File

@ -0,0 +1,3 @@
OneManagerPath=`cd $(dirname $0);pwd -P`
cd ${OneManagerPath}
chmod 666 config.php