Skip to content

Instantly share code, notes, and snippets.

@cetinajero
Last active July 19, 2023 22:25
Show Gist options
  • Save cetinajero/36c9cf7b00d841e3dfa7938aa1ca8cff to your computer and use it in GitHub Desktop.
Save cetinajero/36c9cf7b00d841e3dfa7938aa1ca8cff to your computer and use it in GitHub Desktop.
Get Jekyll to work on Chrome OS using Termux

Steps:

pkg install proot
termux-chroot
pkg install openssh
ssh-keygen -t rsa -b 4096 -C "email@gmail.com"
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
sshd
whoami
ifconfig arc0 | awk '/inet/{print $2}' | sed -e 's/^.*://g'
netstat -plantu
termux-setup-storage
cp ~/.ssh/id_rsa* ~/storage/downloads
rm ~/storage/downloads/id_rsa*
exit

echo "alias ll='ls -lah'" > ~/.bash_profile
echo "alias ll='ls -lah --color'" > ~/.zshrc
pkg install git
git config --global user.name "Edgar Tinajero"
git config --global user.email "24572406+cetinajero@users.noreply.github.com"
hostname
cat ~/.ssh/id_rsa.pub
mkdir -p ~/projects/jekyll
cd ~/projects/jekyll
git clone git@github.com:cetinajero/grupopv.mx.git
pkg install ruby-dev make clang libffi-dev libxslt-dev
gem install bundler
cd grupopv/
bundle install
rake sd
** Open http://100.115.92.2:4000 (ifconfig)**

Packages needed to install rvm.io:

pkg install curl gnupg gnupg-curl 

Install Windows on a Chromebook:

https://coolstar.org/chromebook/windows-install.html

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