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
@@ -66,69 +66,51 @@ For requirements, check the [Software section of the SeqAn3 Quick Setup](https:/
66
66
If you want to build an app, do the following:
67
67
68
68
0. You need to be signed in with a **GitHub account**.
69
-
1. <details><summary>Press the <code>Use this template</code>-Button to create your <b>own repository</b>.</summary><br>
69
+
1. Press the `Use this template`-Button to create your own repository. See [GitHub's documentation](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template) for more information.
70
+
2.**Wait** for GitHub actions to create a commit in your new repository. The commit message will be `Initialise repository` and it will placeholders in the code. Afterwards, the README in your repository will be customised to your repository, among other things.
71
+
<!-- InitDelete -->
72
+
---
73
+
### :warning: Important :warning:
70
74
71
-
Screenshot TODO
72
-
</details>
73
-
2.**Clone** your repository locally: `git clone git@github.com:max/my-repo-name.git`
74
-
75
-
Note: The subsequent steps are not necessary but a recommendation and quick setup.
76
-
77
-
3. <details><summary>Adapt the project name in <code>my-repo-name/CMakeLists.txt</code>, e.g., from <code>app-template</code> to <code>MyDragonApp</code></summary><br>
78
-
79
-
The project name is defined in these lines:
80
-
81
-
```cmake
82
-
project (app-template
83
-
LANGUAGES CXX
84
-
VERSION 1.0.0
85
-
DESCRIPTION "My application description"
86
-
)
87
-
```
75
+
From here on out, follow the instructions in your repository.
76
+
The instructions below are for the template repository and will not work for your repository.
88
77
89
-
Change it e.g. to this:
90
-
91
-
```cmake
92
-
project (MyDragonApp
93
-
LANGUAGES CXX
94
-
VERSION 1.0.0
95
-
DESCRIPTION "Let dragons fly"
96
-
)
97
-
```
98
-
</details>
99
-
4. <details><summary>Build and test the app (example) </summary><br>
100
-
101
-
Next to your local repository clone (e.g. `my-repo-name`), you can do the following to build and test your app:
78
+
---
79
+
<!-- DeleteInit -->
80
+
3.**Clone** your repository locally: `git clone git@github.com:seqan/app-template.git`
81
+
4. <details><summary>Build and test the app (example) </summary>
82
+
In your local repository clone, you can do the following to build and test your app:
102
83
103
84
```bash
104
-
mkdir build # create build directory
105
-
cd build # step into build directory
106
-
cmake ../my-repo-name# call cmake on the repository
107
-
make # build the app MyDragonApp
108
-
make check # build and run tests *1
109
-
./bin/MyDragonApp # Execute the app (prints a short help page)
85
+
mkdir build # create build directory
86
+
cd build # step into build directory
87
+
cmake ..# call cmake on the repository
88
+
make # build the app app-template
89
+
make check # build and run tests
90
+
./bin/app-template# Execute the app (prints a short help page)
110
91
```
111
92
</details>
112
-
<!-- 8. optional: publish your tool to the galaxy toolshed, follow the example in https://github.com/SGSSGene/raptor-galaxy -->
113
93
114
-
## Instructions for SeqAn3 Tutorial Purposes:
94
+
## Setting up Codecov (optional)
115
95
116
-
If you just want some hands-on experience with SeqAn Libraries or a quick setup for our tutorials, do the following:
96
+
1. Go to https://codecov.io/gh/seqan/app-template.
97
+
2. Sign in with your GitHub account.
98
+
3. Go to https://app.codecov.io/gh/seqan/app-template/config/general.
99
+
4. Copy the `Repository Upload Token`.
100
+
5. Go to https://github.com/seqan/app-template/settings/secrets/actions.
101
+
6. Add a `New repository secret` with the name `CODECOV_TOKEN` and the value of the `Repository Upload Token`.
102
+
7. Done! The next push to your repository will create a Codecov report.
117
103
118
-
1. Clone this repository: `git clone https://github.com/seqan/app-template.git`
119
-
2. Create a build directory and visit it: `mkdir build &&cd build`
120
-
3. Run CMake: `cmake ../app-template`
121
-
4. Build the application: `make`
122
-
5. Try executing the app: `./bin/app-template`
104
+
## Instructions for SeqAn3 Tutorial Purposes:
123
105
124
-
You can now start your hands-on experience by looking at or editing the file `src/main.cpp`.
106
+
If you just some quick hands-on experience with SeqAn Libraries, you can also just clone this repository and start editing the `src/main.cpp` file.
125
107
126
108
### Adding a new cpp file
127
109
128
-
If you want to add a new cpp file (e.g., tutorial1.cpp) that is compiled and linked with the current infrastructure, do the following:
110
+
If you want to add a new cpp file (e.g., `tutorial1.cpp`) that is compiled and linked with the current infrastructure, do the following:
129
111
130
112
1. Create a new file `tutorial1.cpp`in the `src/` directory.
131
-
<details><summary>The file content could look like this:</summary><br>
113
+
<details><summary>The file content could look like this:</summary
0 commit comments