Created
April 26, 2019 15:03
-
-
Save kogcyc/802fa05be42ca64d387ae3bb006a38a1 to your computer and use it in GitHub Desktop.
TERMUX HEROKU
This file contains hidden or 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
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 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Still not working