Skip to content

Instantly share code, notes, and snippets.

View omkarchavan25's full-sized avatar

the_underrated omkarchavan25

View GitHub Profile
#!/usr/bin/env bash
# Seed for the shiori SQLite -> Postgres Operate task.
# Starting state: shiori v1.8.0 (the pinned release) running in Docker on its
# default SQLite database, ~200 bookmarks imported from a browser export, a few
# saved with offline archives and excerpts, an owner and a partner account, and
# a nightly backup script that has already run once.
# Usage (inside the lane): bash setup.sh /home/lane/shiori
set -euo pipefail
DIR="${1:-$HOME/shiori}"
#!/usr/bin/env bash
# Seed for the linkding SQLite -> Postgres Operate task.
# Builds the starting state: a linkding 1.47.0 box on the default SQLite
# database, a few hundred bookmarks imported from a browser export, two users,
# notes, bundles, snapshots and an uploaded file, an API token for the browser
# extension, and a nightly backup script that has already run once.
# Usage (inside the lane, as user lane): bash setup.sh /home/lane/linkding
set -euo pipefail
DIR="${1:-$HOME/linkding}"