Coder Social home page Coder Social logo

r-bookdown-python-sql-github-pages's Introduction

R-Bookdown with Python and SQL on Github Pages

This repository is meant for people who wants the minimal installation guide to make R-bookdown on Github Pages which can run Python and SQL.

Bookdown Reference

Make it look nice

Local installation

Intall R and its packages

sudo apt install r-cran-bookdown

Install Python with a shared library

CONFIGURE_OPTS=--enable-shared pyenv install 3.10.6

Install packages

python -m venv venv
source venv/bin/activate
pip install -U pip
pip install -r requirements.txt
Rscript -e "library(reticulate); py_install('pandas==1.5.3')"

Github deployement

Python version

For the moment, I don't know how to change the version used by Github. Thus the current is 3.10.6.

Ubuntu version

In the build-book.yaml, the property runs-on is 22.04, but when it was 20.04 Github was still using the version 22.04.

Github Pages Setup

First allow Github Actions to create and approve pull requests (In Settings - Actions - General):

Actions

Then setup the build and deployment in Settings - Pages:

Settings

r-bookdown-python-sql-github-pages's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.