Skip to content

Commit 6a9d1db

Browse files
committed
Add readme instructions
1 parent 387042f commit 6a9d1db

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,15 @@ In order to convert the Rmd files to HTML files for Hugo you also need to:
7979
1. Activate the environment: `conda activate www-main`
8080
1. Install extra R dependencies: `Rscript ./dependencies.R`
8181

82-
As an alternative you can use Docker and Docker Compose. Then it reduces to `docker-compose up -d` to create a docker container for the current environment. In the following you would need to jump into the container to execute the upcoming command via `docker-compose exec r bash`.
82+
As an alternative you can use Docker and Docker Compose:
83+
1. `docker-compose up -d` to create a docker container for the current environment.
84+
1. `docker-compose exec r bash` to jump into the container.
85+
1. `micromamba activate www-main` to activate the environment
8386

87+
Now you have the environment ready to start converting .Rmd blog files to html.
8488
#### Commands
8589

86-
1. Activate the environment: `conda activate www-main`
90+
8791
1. Run blogdown to convert the files to HTML: `Rscript -e 'blogdown::build_site(local=TRUE, run_hugo=FALSE, build_rmd=TRUE)'`
8892
- `local=TRUE` similar to `-D` to process draft files
8993
- `run_hugo=FALSE` to manually run hugo

0 commit comments

Comments
 (0)