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
wget https://github.com/codercom/code-server/releases/download/1.408-vsc1.32.0/code-server1.408-vsc1.32.0-linux-x64.tar.gz | |
tar -xvf code-server1.408-vsc1.32.0-linux-x64.tar.gz | |
rm -rf code-server1.408-vsc1.32.0-linux-x64.tar.gz | |
cd code-server1.408-vsc1.32.0-linux-x64 | |
echo "export VS_CODE_SERVER=\"$(pwd)/./code-server\"" >> ~/.bashrc | |
source ~/.bashrc | |
cd /path/to/app | |
$VS_CODE_SERVER |
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
sudo apt-get -y update | |
#development tools | |
sudo apt-get install -y autoconf bison build-essential libssl-dev libyaml-dev libreadline-dev libreadline6-dev zlib1g-dev libncurses5-dev libxml2-dev libxslt1-dev libffi-dev gcc g++ make | |
#rbenv | |
git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
#rbenv-aliases |
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
# Development Tools | |
sudo yum -y update | |
sudo yum groupinstall -y 'development tools' | |
sudo yum install -y git-core zlib zlib-devel gcc-c++ patch readline readline-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison curl sqlite-devel | |
# Rbenv | |
cd | |
git clone git://github.com/sstephenson/rbenv.git .rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile | |
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile |