diff --git a/README.md b/README.md index 1781fcb..50c63bc 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,10 @@ chmod 777 templates_c/ If your web server is Apache, you need to set the `AllowOverride` setting to `All` or `FileInfo`. +### On Heroku + +[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy) + #### Update When updating from Git, you need to run npm and Composer again: diff --git a/app.json b/app.json new file mode 100644 index 0000000..1c6a98b --- /dev/null +++ b/app.json @@ -0,0 +1,35 @@ +{ + "name": "AllTube Download", + "description": "HTML GUI for youtube-dl", + "repository": "https://github.com/Rudloff/alltube.git", + "logo": "https://alltubedownload.net/img/logo.png", + "keywords": [ + "alltube", + "download", + "video", + "youtube", + "php" + ], + "buildpacks": [ + { + "url": "heroku/nodejs" + }, + { + "url": "heroku/python" + }, + { + "url": "heroku/php" + } + ], + "env": { + "CONVERT": { + "description": "Enable audio conversion", + "value": "true" + }, + "PYTHON": { + "description": "Path to python binary", + "value": "/app/.heroku/python/bin/python" + } + }, + "website": "https://alltubedownload.net/" +}