Join our Discord to discuss about our software!
Common module for @heusalagroup/hg-dashboard.
These commands are meant if your frontend project is directly in the git directory and source code is in ./src
.
mkdir -p src/fi/hg
git submodule add git@github.com:heusalagroup/fi.hg.dashboard.git src/fi/hg/dashboard
git config -f .gitmodules submodule.src/fi/hg/dashboard.branch main
git submodule add git@github.com:heusalagroup/fi.hg.frontend.git src/fi/hg/frontend
git config -f .gitmodules submodule.src/fi/hg/frontend.branch main
git submodule add git@github.com:heusalagroup/fi.hg.core.git src/fi/hg/core
git config -f .gitmodules submodule.src/fi/hg/core.branch main
These commands are meant if you have full stack project in the same git repository and source codes are in ./backend/src
, ./frontend/src
and ./testing/src
.
mkdir -p {backend,frontend,testing}/src/fi/hg
git submodule add git@github.com:heusalagroup/fi.hg.dashboard.git backend/src/fi/hg/dashboard
git config -f .gitmodules submodule.backend/src/fi/hg/dashboard.branch main
git submodule add git@github.com:heusalagroup/fi.hg.dashboard.git frontend/src/fi/hg/dashboard
git config -f .gitmodules submodule.frontend/src/fi/hg/dashboard.branch main
git submodule add git@github.com:heusalagroup/fi.hg.dashboard.git testing/src/fi/hg/dashboard
git config -f .gitmodules submodule.testing/src/fi/hg/dashboard.branch main
git submodule add git@github.com:heusalagroup/fi.hg.frontend.git frontend/src/fi/hg/frontend
git config -f .gitmodules submodule.frontend/src/fi/hg/frontend.branch main
git submodule add git@github.com:heusalagroup/fi.hg.frontend.git testing/src/fi/hg/frontend
git config -f .gitmodules submodule.testing/src/fi/hg/frontend.branch main
git submodule add git@github.com:heusalagroup/fi.hg.core.git backend/src/fi/hg/core
git config -f .gitmodules submodule.backend/src/fi/hg/core.branch main
git submodule add git@github.com:heusalagroup/fi.hg.core.git frontend/src/fi/hg/core
git config -f .gitmodules submodule.frontend/src/fi/hg/core.branch main
git submodule add git@github.com:heusalagroup/fi.hg.core.git testing/src/fi/hg/core
git config -f .gitmodules submodule.testing/src/fi/hg/core.branch main