Skip to content

Commit f10a08a

Browse files
committed
Improve explanations
1 parent 09863be commit f10a08a

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

index.qmd

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ You can still use the templates - just remove the AIML4OS-styled components.
155155

156156
:::
157157

158-
### How to use a template?
158+
### How to use a template? {#sec-rename}
159159

160160
Here is what to do to re-use a template:
161161

@@ -294,9 +294,19 @@ If you have created a repository from a template and defined a development confi
294294
The first thing you must do is change the URLs of the repository in the `_quarto.yml` file:
295295

296296
- Open the `_quarto.yml`;
297-
- in the `site-url` and `repo-url` fields, replace the URL of the template by the URL of your repository. In step 1, you chose the `Owner` and the `Name` of your repository, so the URL should be `https://github.com/{Owner}/{Name}`;
297+
- In section @sec-rename, you chose the `Owner` and the `Name` of your repository. So:
298+
299+
- in the `repo-url` field, replace the URL by `https://github.com/{Owner}/{Name}`;
300+
- in the `site-url` field, replace the URL by `https://{Owner}.github.io/{Name}`;
301+
298302
- Commit this change.
299303

304+
::: {.callout-note}
305+
If your repository is hosted by the AIML4OS organization on Github, you just have to replace the `Name` of the repository.
306+
:::
307+
308+
309+
300310
### Manage data (if needed)
301311

302312
Depending on your project, your scripts may require some data, for instance to train a model. However, when you start a service on `SSPCloud` (VSCode or Rstudio), it does not contain any data. That implies that you have to download data into your service. Of course, you _could_ do it by hand every time you start a service, but we strongly recommend that you automatize this step. The simplest way to proceed is to upload your data on the S3 storage service of SSPCloud, and then download it from S3 into your service every time you start a service.

0 commit comments

Comments
 (0)