Last active
November 21, 2016 10:03
-
-
Save cedricbonhomme/12875a3346bb2b8861d64d39660851db to your computer and use it in GitHub Desktop.
Deploy @NewsPipe on Heroku
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Run this script with one argument: | |
# ./newspipe-heroku.sh <name-of-your-newspipe-instance> | |
HEROKU_APP_NAME=$1 | |
git clone https://github.com/newspipe/newspipe.git | |
cd newspipe/ | |
heroku create $HEROKU_APP_NAME | |
heroku addons:add heroku-postgresql:hobby-dev | |
heroku config:set HEROKU=1 | |
heroku config:set PLATFORM_URL=https://$HEROKU_APP_NAME.herokuapp.com | |
heroku config:set CDN_ADDRESS=https://cdn.cedricbonhomme.org/ | |
heroku buildpacks:add --index 1 heroku/python | |
heroku buildpacks:add --index 2 https://github.com/heroku/heroku-buildpack-nodejs | |
heroku buildpacks:add --index 3 https://github.com/ejholmes/heroku-buildpack-bower | |
git push heroku master | |
heroku run init | |
heroku ps:scale web=1 | |
heroku open |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can also test Newspipe here: https://www.newspipe.org
Deployment methods: https://newspipe.readthedocs.io/en/latest/deployment.html