It's not actually possible to create multiple forks of the same repository within the same Github account, so what you need to do is to duplicate this repository and set the original repo as an upstream remote to enable pulling changes from upstream.
Github community thread on forking within the same account
Steps:
-
Create a new repository on Github
- Choose the Boilerplate repository as template
- Make sure "Include all branches" is unchecked, we only want to carry over the Master branch
- Repository name should follow this convention:
fp-class[class-number]
. For examplefp-class12
. - You may want to keep the repo private, but remember to set it public when project begins.
- Add a suitable description and create the repository
-
Add Boilerplate as remote to the new repository
- Clone the newly created repository locally.
- Run the following command:
git remote add boilerplate git@github.com:HackYourFuture-CPH/boilerplate-for-fp.git
- Verify the new remote by running:
git remote -v
You should now be able to pull changes from the boilerplate master branch by running this command in your newly created repository:
git pull boilerplate master --allow-unrelated-histories
Develop branch ➡️ this boilerplate doesn't have a develop branch ➡️ check here
Make sure to set the develop branch to default.
In the new repository set the branch protection settings so that merging to the master or develop branch requires PR reviews. Set the branch protection rules so it requires review from at least 1 codeowner and 1 regular member (i.e. student).
Also make sure to assign the team final-project-mentors
to the repo and update the team to contain the mentors that should be able to review PRs with codeowners status.
❌GitHub logo,
❌Heroku logo,
❌AWS logo,
❌S3 logo,
❌Storybook logo,
❌Swagger logo
➡️ Create a Heroku Project
➡️ Setup DB
➡️ Add Env. variables
➡️ Create an AWS account/S3 bucket
➡️ Add Env. variables