Skip to content

Commit

Permalink
Repo setup
Browse files Browse the repository at this point in the history
  • Loading branch information
BadIdeaException committed Sep 10, 2023
0 parents commit f9d1b06
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.vagrant
23 changes: 23 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/jammy64"

# Expose port 9229 to allow debugging
config.vm.network :forwarded_port, guest: 9229, host: 9229

# Install NodeJS
config.vm.provision "shell", name: "Install Node.JS", inline: <<-SHELL
curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
SHELL

# Make Gulp use polling when file-watching
config.vm.provision "shell", name: "Set Gulp watch to use polling", inline: <<-SHELL
echo "export GULP_WATCH_POLLING=true" > /etc/profile.d/gulp-watch-polling.sh
SHELL

# cd to the /vagrant directory upon login
config.ssh.extra_args = ["-t", "cd /vagrant; bash --login"]
end

0 comments on commit f9d1b06

Please sign in to comment.