Skip to content

Instantly share code, notes, and snippets.

View rosalieper's full-sized avatar
:octocat:
Curious

Perside Rosalie rosalieper

:octocat:
Curious
View GitHub Profile

How to use a locally built docker image in a local WBaaS setup

I'll use the WBaaS UI as an example because that's what I was working on.

  1. build the docker image for minikube (helpful stackoverflow answer)

In the session that you'll use to build the docker image, run eval $(minikube -p minikube-wbaas docker-env) which just sets a bunch of environment variables to point docker at minikube. Then, build and tag the image: docker build -t my-local-wbaas-ui ..

(1.5 Modify the helm chart locally if there are any changes corresponding to the ones of the new image)

import sys
import json
import os
import bz2
import gzip
def read_dump(path):
mode = 'r'
file_ = os.path.split(path)[-1]
if file_.endswith('.gz'):
f = gzip.open(path, mode)
@rosalieper
rosalieper / MediaWiki:Guidedtour-lib.js
Last active July 30, 2019 09:47
OnWiki script for wikidata guided Tours
/**
* Library to easily create and maintain translatable guided tours.
*
* Important note: This script must be loaded before the entire page is ready because
* otherwise GuidedTours will try to start a tour although it is not defined yet.
*
* @author Bene*
*/
( function( $, mw, gt, wb ) {
'use strict';
@rosalieper
rosalieper / Sublime Text 3 Build 3103 License Key - CRACK
Created June 8, 2017 08:42
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04