Skip to content

Commit

Permalink
updated Vagrant setup to enable redis
Browse files Browse the repository at this point in the history
  • Loading branch information
luciuschoi committed Jun 22, 2018
1 parent ad51927 commit 83c15bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@

Vagrant.configure(2) do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.network "forwarded_port", guest: 3000, host: 9000, auto_correct: true
config.vm.network "forwarded_port", guest: 80, host: 8080, auto_correct: true
config.vm.network :forwarded_port, guest: 3000, host: 9000, auto_correct: true
config.vm.network :forwarded_port, guest: 80, host: 8080, auto_correct: true
config.vm.network :forwarded_port, guest: 6379, host: 6379
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.provider "virtualbox" do | vb |
vb.name = "RORLAB DEV Vagrant for Vagrant-Test Project"
Expand Down
2 changes: 2 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash
echo "Provision virtual machine..."

echo "Updating Packages"
Expand Down Expand Up @@ -32,6 +33,7 @@ echo "Installing MySQL"

echo "Installing Redis"
sudo apt-get install redis -y > /dev/null 2>&1
sudo apt-get install redis-server -y > /dev/null 2>&1

echo "Installing Pygments"
sudo apt-get install python-pygments > /dev/null 2>&1
Expand Down

0 comments on commit 83c15bd

Please sign in to comment.