This is an example of how to create a git fork of only the public-facing web app.
mkdir my-subtree-example && cd my-subtree-examplegit clone https://github.com/bloom-housing/bloom.git .git branch -m upstreamgit subtree split -P apps/public/ -b mastergit remote rename origin core-bloom(don't reuse "upstream"the branch name)
Now go to GitHub and make a new repo for just the subtree, which will be the new "origin"
git remote add origin https://github.com/YOURNAME/subtree-example-repo-name.gitgit push -u origin master
Same as if it were in the Bloom monorepo. Note that you'll be getting other Bloom packages (e.g. core and ui-components) from the public NPM repository, and those may or may not be synced up with the upstream code you just pulled from.
yarn installyarn dev
- Start the Next.js server:
yarn test