This tutorial was originally developed for NL-RSE 2019 by Tania Allard. The whole tutorial is self contained in this repo and you should be able to follow at your own pace.
By the end of the tutorial you should be able to start implementing your CI/CD workflows either in Azure pipelines or GitHub actions. Note that since it's only a 1 hour course this is meant to be a taster of the capabilities of both solutions.
π» Laptop with WiFi access
β¨ GitHub Account
π» Git installed in your personal laptop
π Azure DevOps account
π A text editor. I πVS Code, you can get it following this link ππΌ VSCode.
The workshop hands on session materials for using Azure pipelines can be found ππΌ here.
The workshop hands on session materials for using GitHub actions can be found ππΌ here.
We will also have time for you to create your own custom actions!!!
For the tutorial we will be testing and creating containers for the bokeh app in this repo. You will need the requirements above as well as the following steps:
- Install Python > 3.6 (3.7 preferred)
- Fork this repo
- Clone your fork of the repo
git clone https://github.com/{your-user}/rse19-ms-workshop.git
cd rse19-ms-workshop
- Install dependencies - we recommend using virtual environments or conda environments
Virtual env
# MAC or Linux
python3 -m venv .env
source .env/bin/activate
pip install -r requirements.txt
# Windows
py -m venv .env
.\env\Scripts\activate
pip install -r requirements.txt
Anaconda
conda env create -n rse19
conda activate rse19
conda install --file requirements.txt
To run the bokeh apps you can run the following command:
bokeh serve iris
#or
bokeh serve boston
You can use, remix and adapt the content here, it has a MIT license so attribution is required. If you also want to contribute to the tutorial or make suggestions please open an issue here or contact Tania Allard at trallard[at]bitsandchips.me