-
-
Save faissaloo/f7a2304c29a7aa3eaa2a84d3ffb1e1a3 to your computer and use it in GitHub Desktop.
Rails on Termux
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
apt update && apt upgrade | |
apt install ruby vim git nodejs | |
apt install ruby-dev libxml2-dev libxslt-dev pkg-config make clang | |
gem install nokogiri -- --use-system-libraries | |
apt install libsqlite-dev | |
gem install sqlite3 | |
apt install libffi-dev | |
gem install rb-inotify | |
gem install ffi | |
apt install openssh | |
sshd | |
packages install postgresql postgresql-contrib postgresql-dev | |
gem install pg | |
initdb -D ~/postgres/ | |
# pg_ctl -D /data/data/com.termux/files/home/postgres/ -l logfile start |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment