$ vagrant up
$ vagrant ssh goad-node
vagrant@vagrant:~$ ./goad -n 0 -c 10 -t 60 --run-docker https://www.example.com
Last active
December 4, 2018 21:42
-
-
Save nicosingh/1b59dfb10fd09c00537f7d4c24d7cd56 to your computer and use it in GitHub Desktop.
workaround to run Goad using Docker in your macos
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
| #!/bin/bash | |
| # install unzip | |
| apt-get update | |
| apt-get install unzip -y | |
| # download goad | |
| wget https://github.com/goadapp/goad/releases/download/2.0.4/goad-linux-x86-64.zip -O /home/vagrant/goad.zip | |
| # install goad | |
| cd /home/vagrant | |
| unzip goad.zip | |
| rm goad.zip | |
| chown vagrant:vagrant /home/vagrant/goad | |
| chmod +x /home/vagrant/goad |
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
| Vagrant.configure("2") do |config| | |
| config.vm.provider "virtualbox" do |vb| | |
| vb.memory = "12288" | |
| vb.cpus = "6" | |
| end | |
| config.vm.define "goad-node" do |node| | |
| node.vm.box = "bento/ubuntu-16.04" | |
| node.vm.provision "docker" | |
| node.vm.provision "shell", path: "install-goad.sh" | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment