This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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}" |