Skip to content

About

Binary Store and Cache Training

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Binary Store Training

To start the slide show, with either Docker or Apple's container CLI:

Docker

docker run -it --rm \
  --mount type=bind,source="$(pwd)",target="/slidev" \
  --publish 3030:3030 \
  docker.io/boxcutter/slidev

# Visit <http://localhost:3030/>

Apple container (macOS)

container system start   # once per boot

container run -it --rm \
  --mount type=bind,source="$(pwd)",target="/slidev" \
  --publish 3030:3030 \
  docker.io/boxcutter/slidev

# Visit <http://localhost:3030/>

Edit the slides.md to see the changes.

Learn more about Slidev at the documentation.

Sections

Each section is its own file, pulled into slides.md with src::

Directory Covers
overview Choosing a binary store: Nexus, Artifactory and Pulp pros and cons, and the other options
nexus Sonatype Nexus Repository: install from the tarball as a systemd service, with Docker or with Apple container, then the admin password, EULA and anonymous access, and the boxcutter_sonatype setup as curl commands
artifactory JFrog Artifactory
pulp Pulp: install with Docker, Apple container or by hand, then the boxcutter_sonatype setup redone in Pulp, compared with Nexus
harbor Harbor: install on premises with the installer and Docker Compose, then the cookbook's Docker setup redone in Harbor (proxy cache, projects, users, robot accounts, Helm charts, Trivy scanning), compared with Nexus

Update dependencies

Docker

To see what is out of date:

docker run -it --rm \
  --mount type=bind,source="$(pwd)",target="/slidev" \
  --entrypoint npm \
  docker.io/boxcutter/slidev outdated

To upgrade Slidev and the themes to their latest versions:

docker run -it --rm \
  --mount type=bind,source="$(pwd)",target="/slidev" \
  --entrypoint npm \
  docker.io/boxcutter/slidev \
    install @slidev/cli@latest @slidev/theme-default@latest @slidev/theme-seriph@latest

Apple container (macOS)

To see what is out of date:

container run -it --rm \
  --mount type=bind,source="$(pwd)",target="/slidev" \
  --entrypoint npm \
  docker.io/boxcutter/slidev outdated

To upgrade Slidev and the themes to their latest versions:

container run -it --rm \
  --mount type=bind,source="$(pwd)",target="/slidev" \
  --entrypoint npm \
  docker.io/boxcutter/slidev \
    install @slidev/cli@latest @slidev/theme-default@latest @slidev/theme-seriph@latest

Then, on the host:

git add package.json package-lock.json
git commit -m "Sync npm lockfile"
git push

Attributions

The following projects were used for inspiration and some code was reused for the slideware:

About

Binary Store and Cache Training

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages