Skip to content

Commit ac4d717

Browse files
authored
Add readme (#11)
* Add readme * fix readme
1 parent 738172b commit ac4d717

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# docs
2+
3+
## Installation
4+
5+
Install R and Quarto (check the [github action](.github/workflows/quarto_render.yml) to see which version you need).
6+
7+
Install renv:
8+
9+
```bash
10+
R -e 'install.packages(c("renv", "yaml"))'
11+
```
12+
13+
Install R dependencies:
14+
15+
```bash
16+
R -e 'renv::restore()'
17+
```
18+
19+
If restoring the R dependencies consistently fails, we might need to re-initialise the renv lock file:
20+
21+
```bash
22+
rm renv.lock
23+
R -e 'renv::install()'
24+
```
25+
26+
## Build
27+
28+
The documentation is currently being built by the CI and is published in the [`render/main`](https://github.com/openproblems-bio/docs/tree/render/main) branch.
29+
30+
You can also do a local build:
31+
32+
```bash
33+
quarto render
34+
```

0 commit comments

Comments
 (0)