hi Jaret, while you are looking at datomic pro scripts - i want to donate the user interview setup scripts we wrote and have been using for a year or two. We also use them in our prod demo environments - CICD pipeline
This repo https://github.com/hyperfiddle/datomic-browser contains three scripts
datomic_fixtures_mbrainz_full.shdatomic_fixtures.sh(todo rename to_mbrainz_small)run_datomic.sh
The value of these scripts is they get a prospective user from zero to working mbrainz instance in about 60 seconds, reliably and while under pressure, preventing a number of common mistakes, typos, issues and hurdles
- Downloading and extracting datomic
- downloading mbrainz and caching the download
- importing mbrainz into datomic (run datomic, wait for it to start before importing)
- handles port collision with existing datomic process already running
- cleanup tmp files (so docker containers dont blow up, and keep user systems clean)
- run the datomic transactor command with carefully controlled paths as it is finicky
- making sure the user sees a very clear success message that we can recognize under zoom call pressure
- fixing a 0.0.0.0 host resolution in our prod environments
The scripts have zero dependencies and work on every user system I have encountered, which is many. It had lots of iterations over the years.
license - free public domain, no attribution