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
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -79,11 +79,15 @@ In order to convert the Rmd files to HTML files for Hugo you also need to:
79
79
1. Activate the environment: `conda activate www-main`
80
80
1. Install extra R dependencies: `Rscript ./dependencies.R`
81
81
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
83
86
87
+
Now you have the environment ready to start converting .Rmd blog files to html.
84
88
#### Commands
85
89
86
-
1. Activate the environment: `conda activate www-main`
90
+
87
91
1. Run blogdown to convert the files to HTML: `Rscript -e 'blogdown::build_site(local=TRUE, run_hugo=FALSE, build_rmd=TRUE)'`
88
92
-`local=TRUE` similar to `-D` to process draft files
0 commit comments