Last active
February 21, 2018 10:18
-
-
Save Baael/1821b599c25197863e4c47cb0e6e8757 to your computer and use it in GitHub Desktop.
install ruby rails bundler node yarn
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 update | |
sudo apt-get install autoconf bison build-essential libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libncurses5-dev libffi-dev libgdbm3 libgdbm-dev | |
git clone https://github.com/rbenv/rbenv.git ~/.rbenv | |
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
source ~/.bashrc | |
type rbenv | |
git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build | |
rbenv install 2.3.4 | |
rbenv global 2.3.4 | |
ruby -v | |
echo "gem: --no-document" > ~/.gemrc | |
gem install bundler | |
gem install rails | |
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash - | |
sudo apt-get install -y nodejs | |
mkdir ~/.npm-global | |
npm config set prefix '~/.npm-global' | |
echo 'export PATH=~/.npm-global/bin:$PATH' >> ~/.profile | |
source ~/.profile | |
sudo apt-get install libpq-dev | |
sudo apt-get install postgresql postgresql-contrib | |
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add - | |
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list | |
sudo apt-get update && sudo apt-get install yarn | |
sudo apt-get install libfontconfig1 libxrender1 | |
sudo apt-get install redis-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
https://www.jetbrains.com/help/ruby/configuring-remote-interpreters-via-vagrant.html | |
remote chromedriver: | |
https://gist.github.com/danwhitston/5cea26ae0861ce1520695cff3c2c3315 |
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
mklink /d "c:\mnt\[NAME]" \\VIRTUAL\virtual |
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 sh -c "echo '[$(hostname)]'" >> /etc/samba/smb.conf" | |
sudo sh -c "path = /home/vagrant" >> /etc/samba/smb.conf" | |
sudo sh -c "valid users = vagrant" >> /etc/samba/smb.conf" | |
sudo sh -c "read only = no" >> /etc/samba/smb.conf" | |
sudo sh -c "create mask = 0700" >> /etc/samba/smb.conf" | |
sudo sh -c "directory mask = 0700" >> /etc/samba/smb.conf" | |
systemctl restart smbd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment