OPEnSLab-OSU / ednaServer

GNU Affero General Public License v3.0
4 stars 0 forks source link

Getting Started

We are using git submodule as an internal dependency management. This allows branch selection stright from the parent repo as well as the ability to directly commiting to the sub repo. Submodule is downloaded to lib/Framework to take advantage of PlatformIO's build system to find the right symbols.

Learn more: Git Submodule

Relevant Commands

git submodule update --remote --rebase
git submodule add <remote>
git checkout --recurse-submodule <submodule>

Start Here

Setup

First navigate to develop branch in eDNA-Server local repo

git config push.recurseSubmodules check
git config submodule.recurse true
git reset --hard
git pull

Initializing Submodule

git submodule init
git submodule update
git submodule foreach "git checkout develop"

You should be able to compile at this point. If so stop here, else please let me know.

Pulling Changes From Upstream

git submodule update --remote --rebase

Branch Naming Convention