viash-io / website

https://viash.io
Other
0 stars 2 forks source link

viash.io

This is the website repo for viash.io.

Requirements

Quarto, R 4.2 and Python 3.10.

First setup

# clone the repo
git@github.com:viash-io/website.git
cd website

# Install R and Python dependency packages
Rscript -e 'renv::restore()'

Local preview

source renv/python/virtualenvs/renv-python-3.10/bin/activate
quarto preview

Navigate to http://localhost:8000 in a web browser

How the renv was created

install.packages("renv")
renv::init()
renv::use_python()
source renv/python/virtualenvs/renv-python-3.10/bin/activate
install.packages(c("reticulate", "languageserver", "rmarkdown"))
reticulate::py_install(c("pandas", "GitPython", "jupyter", "nbformat"))
renv::snapshot()