- A NeverwinterDP and DemandCube Project
This is the Vagrant Setup for developing Sparkngin
This setups two virtualboxs:
- Sparkngin (host: sparkning1)
- Kafka and Zookeeper (host: sparkngin2)
git clone https://github.com/DemandCube/developer-setup.git
cd developer-setup
./setup.sh
vagrant plugin install vagrant-flow
git clone https://github.com/DemandCube/Sparkngin-developer-setup.git
git clone https://github.com/DemandCube/DemandCubePlaybooks.git
cd DemandCubePlaybooks
mkdir library
cd library
git clone https://github.com/DemandCube/ansible-flow.git
mv ./ansible-flow/* ./
cd ../Sparkngin-developer-setup
vagrant up
vagrant ansible-inventory
ansible-playbook -i vagrant-flow_ansible_inventory ../DemandCubePlaybooks/main.yml
# vagrant ssh sparkngin1
# or
# vagrant ssh sparkngin2
# or
# vagrant ssh jenkinsdp
- Add the remote, call it "upstream":
git remote add upstream [email protected]:DemandCube/Sparkngin-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