If you want to own and edit this entire stack—including all the sub-repositories—follow these steps. You can do this entirely in your browser without using the command line.
First, create your own copies of the individual projects. Visit each link and click the Fork button at the top right:
- Fork the Flask Backend
- Fork the Pages Frontend
- Fork the Spring Backend
Next, click the Fork button at the top of this page (codespaces-fullstack).
Now you must tell your copy of the parent repository to point to your personal forks instead of the originals.
- Navigate to your fork of
codespaces-fullstackon GitHub. - Press the
.(period) key on your keyboard. This opens the GitHub Web Editor. - In the file explorer on the left, click on the
.gitmodulesfile. - Update the URLs by replacing
Open-Coding-Societywith your GitHub username:[submodule "flask"] path = flask url = https://github.com/{YOUR_USERNAME}/{YOUR_FLASK_FORK_NAME} [submodule "pages"] path = pages url = [https://github.com](https://github.com/{YOUR_USERNAME}/{YOUR_PAGES_FORK_NAME}) [submodule "spring"] path = spring url = [https://github.com](https://github.com/{YOUR_USERNAME}/{YOUR_SPRING_FORK_NAME})
- Click the Source Control icon on the left sidebar (it looks like a branch).
- Type a message like
Relink submodules to my forksand click Commit and Push.
- Go back to your repository page on GitHub.com.
- Click the green <> Code button.
- Select the Codespaces tab and click Create codespace on main.
- Codespaces will automatically use your updated
.gitmodulesfile to pull the code from your forks.
If your forks are private, your Codespace may ask for permission to access them:
- A pop-up may appear in the bottom right corner of the Codespace asking to "Authorize" access. Click Yes.
- If the folders for
flask,pages, orspringappear empty, open the terminal in the Codespace and type:
git submodule update --init --recursive