Skip to content

fwynyk/ofmygo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OFMYGO

OFMYGO (OneFootball MySQL Go) is a test lab which builds 3 Virtualbox servers using vagrant and saltstack. Each virtual machine runs a different service, as follows:

  • 'Database', which runs MySQL 5.6
  • 'Webapp', which runs a Go application called 'gowebapp'
  • 'Monitoring', which runs Sensu server and monitors the 3 servers

You can choose to follow Easy setup or Standard setup, according with your needs.

NOTE: Make sure to have SELINUX and secure boot (UEFI) disabled.

Easy setup (for Debian/Ubuntu)

NOTE: This script removes previous virtualbox installations! If you have any issues, please follow Standard setup.

Be aware that 'install-and-run.sh' will download Vagrant and Virtualbox latest versions and associated dependencies. It also install some vagrant plugins and bring all virtual machines up in the end of the process.

  • Git clone "ofmygo"
$ git clone https://github.com/fwynyk/ofmygo.git
  • Run "install-and-run.sh"
$ cd ofmygo

$ chmod +x install-and-run.sh

$ ./install-and-run.sh

Standard setup

  • Make sure you have latest versions of Vagrant and Virtualbox installed

  • Install vagrant plugins

$ sudo vagrant plugin install vagrant-hostmanager

$ sudo vagrant plugin install vagrant-salt

  • Git clone "ofmygo"

$ git clone https://github.com/fwynyk/ofmygo.git

  • Run vagrant
$ cd ofmygo

$ vagrant up

Usage

To reach gowebapp, point your browser to:

$ http://localhost:8080/

To reach Sesu monitoring, point your browser to:

$ http://localhost:8081/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published