Skip to content

Latest commit

 

History

History
91 lines (71 loc) · 2.09 KB

README.md

File metadata and controls

91 lines (71 loc) · 2.09 KB

Sparkngin Developer Setup

A NeverwinterDP and DemandCube Project

This is the Vagrant Setup for developing Sparkngin

This sets up the following virtualboxs:

Box role Host Name
Sparkngin sparkngin1
Kafka and Zookeeper sparkngin2

Install

Step 1) Setup

git clone https://github.com/DemandCube/developer-setup.git
cd developer-setup
./setup.sh
vagrant plugin install vagrant-flow

Step 2) Run

git clone https://github.com/DemandCube/NeverwinterDP-developer-setup.git
cd NeverwinterDP-developer-setup
./setup.sh  #This will take a long time

#Then you'll be able to...
# vagrant ssh sparkngin1 
#    or
# vagrant ssh sparkngin2

Step 3)Clean up, destroy VMs, and go back to a clean state

cd NeverwinterDP-developer-setup
./destroyAndCleanup.sh 

Vagrant Flow Documentation

https://github.com/DemandCube/vagrant-flow

Config Files Documentation

  • multiinitconfig.yml
    • default file used by vagrant flow multiinit
    • defines which hosts to create based on which DemandCube box config
  • groupconfig.yml
    • default file used by vagrant flow ansibleinventory
    • defines which hosts are part of which ansible group
  • flow-playbook.yml
    • default file used by vagrant flow playbook
    • defines which ansible inventory file and playbook to execute

Keep your fork updated

Github Fork a Repo Help

  • Add the remote, call it "upstream":
git remote add upstream [email protected]:DemandCube/NeverwinterDP-developer-setup.git
  • Fetch all the branches of that remote into remote-tracking branches,
  • such as upstream/master:
git fetch upstream
  • Make sure that you're on your master branch:
git checkout master
  • Merge upstream changes to your master branch
git merge upstream/master