These host specifications work for my setup:
- Golang - 1.18
- Vagrant - 2.2.19
- VirtualBox - 6.1.30
Download the installer on your host:
go install github.com/tamama/[email protected]
Navigate to your folder of choice:
mkdir -p ~/workspace/var/vagrant/tamama-machine
cd ~/workspace/var/vagrant/tamama-machine
Initialize our Vagrantfile:
tamama-cloud-deployer-machine vagrant --init
tamama-cloud-deployer-machine vagrant --init --force
Start our VM:
vagrant up
Navigate to the source folder of your choice:
mkdir -p ~/workspace/src/github.com/tamama/tamama-cloud-deployer-machine
cd ~/workspace/src/github.com/tamama/tamama-cloud-deployer-machine
Git clone repo:
git clone https://github.com/tamama/tamama-cloud-deployer-machine .
Switch to develop
branch:
git checkout develop
Build from source:
make init
make build
Smoke-check - version:
/tmp/tamama-cloud-deployer-machine --version
Fork this Git repo under your namespace, say:
https://github.com/mamata/tamama-cloud-deployer-machine
Navigate to the source folder of your choice:
mkdir -p ~/workspace/src/github.com/mamata/tamama-cloud-deployer-machine
cd ~/workspace/src/github.com/mamata/tamama-cloud-deployer-machine
Git clone repo:
git clone https://github.com/mamata/tamama-cloud-deployer-machine .
Add the source Git repo to your upstream:
git remote add upstream https://github.com/tamama/tamama-cloud-deployer-machine
Switch to develop
branch:
git checkout develop
Fetch latest changes (upstream Git repo => your Git repo)
git fetch upstream
git pull upstream develop
git push origin develop
Always develop from your feature branch:
git checkout feat/jira-xxxx
git rebase develop
(Hint: It is always a good idea to sync up with upstream repo. Otherwise, conflicts would kill you eventually.)