Skip to content

Instantly share code, notes, and snippets.

@cedricbonhomme
Last active November 21, 2016 10:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cedricbonhomme/12875a3346bb2b8861d64d39660851db to your computer and use it in GitHub Desktop.
Save cedricbonhomme/12875a3346bb2b8861d64d39660851db to your computer and use it in GitHub Desktop.
Deploy @NewsPipe on Heroku
# 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
@cedricbonhomme
Copy link
Author

cedricbonhomme commented Nov 21, 2016

You can also test Newspipe here: https://www.newspipe.org

Deployment methods: https://newspipe.readthedocs.io/en/latest/deployment.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment