Skip to content

Commit e6d046e

Browse files
committed
initial README
1 parent 30e2f64 commit e6d046e

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Unlocking Data. A Gentle Introduction to APIs
2+
3+
This repository contains the source code for the book "Unlocking Data. A Gentle Introduction to APIs".
4+
5+
The book is built with [Quarto](https://quarto.org/) and relies heavily on [Observable JS](https://quarto.org/docs/interactive/ojs/).
6+
7+
8+
## How to publish the book
9+
10+
Because we require API keys to run the examples, the book is build using [Github Actions](https://quarto.org/docs/publishing/github-pages.html#github-action). If the repository is fork, be sure to set the API keys in the Github Actions secrets. See `_environment.required` file to know which API keys are required to make the examples work.
11+
12+
Publications are done using the `.github/workflows/publish.yml` file, which is triggered by a push to the `main` branch, and deploy the book to the `gh-pages` branch. The `gh-pages` branch must exist before the first publication and be set as the branch to build and deploy your Github Pages site.
13+
14+
We opt for execute the code as part of a Github Action, because it allows us to fetch the data from external sources. Updated computations are still stored in `_freeze` folder, and it's recommended using a Python virtual environment to run Quarto and install the required packages using `requirements.txt` file.
15+
16+

0 commit comments

Comments
 (0)