-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1abec03
commit 48a279f
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Repo Scaffolder | ||
|
||
## Prerequisites | ||
- python | ||
- github cli | ||
- cookiecutter | ||
|
||
## Need help picking a tier? | ||
If you do not know what tier you project is the cookiecutter will walk you through questions to figure out what tier you need. Run: | ||
``` | ||
cookiecutter https://github.com/DSACMS/repo-scaffolder | ||
``` | ||
|
||
## Know what tier you need? | ||
If you know what tier you need you can run the cookiecutter for an individual tier. Use the below command with `X` substituted for the tier number. | ||
``` | ||
cookiecutter https://github.com/DSACMS/repo-scaffolder --directory=tierX | ||
``` | ||
|
||
## Existing Projects | ||
You can update existing projects with the repo scaffolder. Using the `-s` flag on cookiecutter will not overwrite existing files. Follow these steps: | ||
1. Create a new branch in your repo | ||
2. cd into folder above | ||
3. run: `cookiecutter -f -s https://github.com/DSACMS/repo-scaffolder --directory=tierX` | ||
4. Make sure when answering the questions you use the existing folder/project name | ||
5. Raise pr into main | ||
|
||
## Updating Projects | ||
When creating projects, if you want to receive updates then add `dsacms-tierX` as a github topic to the repo. The scaffolder repo includes github workflows that will find all repos with that tag and can raise a pull request with an updated string or adding a file. |