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
net: | |
bindIp: "127.0.0.1" | |
port: 3307 | |
ssl: | |
mode: "disabled" | |
mongodb: | |
versionCompatibility: "4.4" | |
net: | |
uri: "mongodb://localhost:2345" |
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
mkdir -p -m a+rwX ~/backend/node_modules | |
mkdir -p -m a+rwX /vagrant/backend/node_modules | |
sudo mount --bind ~/backend/node_modules /vagrant/backend/node_modules | |
cd /vagrant/backend | |
npm install | |
mkdir -p -m a+rwX ~/frontend/node_modules | |
mkdir -p -m a+rwX /vagrant/frontend/node_modules | |
sudo mount --bind ~/frontend/node_modules /vagrant/frontend/node_modules | |
cd /vagrant/frontend | |
npm install |
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
vb.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/v-root", "1"] |
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
required_plugins = %w( vagrant-fsnotify ) | |
required_plugins.each do |plugin| | |
system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin | |
end |
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
mkdir -p -m a+rwX ~/backend/node_modules | |
mkdir -p -m a+rwX /vagrant/backend/node_modules | |
sudo mount --bind ~/backend/node_modules /vagrant/backend/node_modules | |
cd /vagrant/backend | |
npm install | |
mkdir -p -m a+rwX ~/frontend/node_modules | |
mkdir -p -m a+rwX /vagrant/frontend/node_modules | |
sudo mount --bind ~/frontend/node_modules /vagrant/frontend/node_modules | |
cd /vagrant/frontend | |
npm install |
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
curl -sL https://deb.nodesource.com/setup_9.x -o nodesource_setup.sh | |
sudo bash nodesource_setup.sh | |
sudo apt-get install nodejs -y |
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
sudo curl -L https://github.com/docker/compose/releases/download/1.22.0/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose |
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
sudo apt-get install apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo apt-key fingerprint 0EBFCD88 | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | |
sudo apt-get update | |
sudo apt-get install docker-ce -y | |
sudo groupadd docker | |
sudo usermod -aG docker vagrant | |
sudo systemctl enable docker |
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
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure("2") do |config| | |
config.ssh.shell="bash" | |
required_plugins = %w( vagrant-fsnotify ) | |
required_plugins.each do |plugin| | |
system "vagrant plugin install #{plugin}" unless Vagrant.has_plugin? plugin | |
end |