git clone [email protected]:thomasmanke/blog.git
mamba env create -f env.yml
mamba env update -f env.yml
For Apple M1/M2 (arm64) many package are not yet available. Use instead:
# CONDA_SUBDIR=osx-64 micromamba create -f env.yml
micromamba create -f env_apple.yml
micromamba remove --name web_apple --all
./install_packages.sh
# quarto add quarto-ext/shinylive
# quarto add quarto-ext/include-code-files
r-shinylive
should be installed with install_packages.sh
above. Here is an alternative method:
install.packages('devtools')
library(devtools)
install_github("posit-dev/r-shinylive")
#https://github.com/quarto-dev/quarto-cli/discussions/3977
export QUARTO_PYTHON=/Users/manke/miniconda3/envs/web/bin/python
quarto render
quarto preview
quarto publish gh-pages