Skip to content

Instantly share code, notes, and snippets.

@kogcyc
Created April 26, 2019 15:03
Show Gist options
  • Save kogcyc/802fa05be42ca64d387ae3bb006a38a1 to your computer and use it in GitHub Desktop.
Save kogcyc/802fa05be42ca64d387ae3bb006a38a1 to your computer and use it in GitHub Desktop.
TERMUX HEROKU
wget http://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x64.tar.gz -O heroku.tar.gz
tar -xvzf heroku.tar.gz
mv blahblahblah heroku
mv heroku /data/data/com.termux/files/usr/lib/heroku
ln -s /data/data/com.termux/files/usr/lib/heroku/bin/heroku /data/data/com.termux/files/usr/bin/heroku
cd /data/data/com.termux/files/usr/lib/heroku/bin/
pkg install heroku
nano heroku
#!/usr/bin/env bash
set -e
...
Change the first line from #!/usr/bin/env bash to #!/data/data/com.termux/files/usr/bin/env bash, and save the file.
pkg install nodejs
...
$ cd /data/data/com.termux/files/usr/lib/heroku/bin
$ mv node node.old
$ ln -s ../../../bin/node node
@User719-blip
Copy link

Still not working

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