Giter VIP home page Giter VIP logo

Source repository for DigitalTibetan

publish-book pages-build-deployment

This repository contains the source-files for Digital Tibetan. So to access the actual web-site, look here:

How this works

This repository contains markdown files (for textual information) and jupyter notebooks (for computational examples) that are automatically converted at each push to the repository using github actions. The result are web pages, accessible at the Digital Tibetan site.

To build the project manually:

jupyter-book build .

The result ends up in _build/html and can be opened with a web-browser. The github action publishes this into the branch gh-pages which is served by Github pages as digitaltibetan.github.io/DigitalTibetan.

Installation:

# Clone repository of markdown files
git clone https://github.com/DigitalTibetan/DigitalTibetan
# Create a virtual env for Python
python -m venv DigitalTibetan
cd DigitalTibetan
# Activate environment
source bin/activate
# Install python dependencies
pip install -r requirements.txt
# Re-activate environment with newly install binaries
source bin/activate

then build the book with:

jupyter-book build .

Build notes for macOS with brew:

If encountering build errors containing ValueError: No template sub-directory with name 'script' found in the following paths: then execute the following before building:

export JUPYTER_PATH=/opt/homebrew/share/jupyter:$JUPYTER_PATH

is currently required to make the jupyter-book build work until this is fixed.

Digital Tibetan's Projects

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.