You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+65-1Lines changed: 65 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,69 @@ If your workflow provides Github releases, the catalog will always just scrape t
61
61
## Contributing
62
62
63
63
Contributions to the Snakemake Workflow Catalog are welcome!
64
-
Ideas can be discussed on the [catalog's Issues page](https://github.com/snakemake/snakemake-workflow-catalog/issues) first, and contributions made through Github Pull Requests.
64
+
Ideas can be discussed on the [catalog's Issues page](https://github.com/snakemake/snakemake-workflow-catalog/issues) first, and contributions made through Github Pull Requests, see the [next section](#working-with-a-local-copy) for details.
65
+
66
+
## Working with a local copy
67
+
68
+
In order to make contributions, you can set up a local copy of the catalog and test your changes.
69
+
70
+
First, fork the repository on Github:
71
+
72
+
1. Go to the [Snakemake Workflow Catalog repository](https://github.com/snakemake/snakemake-workflow-catalog) on Github.
73
+
2. Click on the "Fork" button in the top right corner ([Github documentation: Forking a repository](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/fork-a-repo)).
74
+
75
+
Then, clone the forked repository:
76
+
77
+
1. Open a terminal on your local machine.
78
+
2. Run `git clone https://github.com/{your-username}/snakemake-workflow-catalog.git` to clone the repository ([Github documentation: Cloning a repository](https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository)).
79
+
80
+
Make your changes to the catalog:
81
+
82
+
1. Create a conda/mamba environment in order to work with the catalog locally.
3. Build the catalog data sources using the test repository.
101
+
102
+
```bash
103
+
python scripts/generate-catalog.py
104
+
python scripts/cleanup-catalog.py
105
+
```
106
+
107
+
4. Build the catalog web page using sphinx autobuild (live reload).
108
+
109
+
```bash
110
+
sphinx-autobuild source/ build/
111
+
```
112
+
113
+
... or using the make file (static build).
114
+
115
+
```bash
116
+
make html
117
+
```
118
+
119
+
5. Run `git add .` to stage your changes.
120
+
6. Run `git commit -m "fix: your commit message"` to commit your changes.
121
+
7. Run `git push` to push your changes to your fork on Github.
122
+
123
+
Finally, create a pull request:
124
+
125
+
1. Go to your fork on Github.
126
+
2. Follow the instructions on the [Github documentation: Creating a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request).
65
127
66
128
## Using workflows from the catalog
67
129
@@ -78,3 +140,5 @@ For more detailed instructions, please refer to the documentation within each wo
78
140
79
141
The Snakemake Workflow Catalog is open-source and available under the MIT License.
80
142
For more information and to explore the available workflows, visit https://snakemake.github.io/snakemake-workflow-catalog/.
143
+
144
+
Note: All workflows collected and presented on the Catalog are licensed under their own terms!
0 commit comments