Skip to main content

Things I Learned: Publishing the Ham Radio General Class Question Pool with Datasette

Well, that was easy. In my previous post, I wondered about being able to publish the ham radio general class license exam question pool so that anyone could explore it using Datasette.

There's a CLI command for that.

Put simply, if you're already running things on Google Cloud (like a ham radio practice exam), then you can issue a single command:

datasette publish cloudrun mydatabase.db --service=my-database

But, if you're running on windows... ahem... you'll also need to get rid of the tmp file cleanup routine because it'll hose up the entire process, preventing you from deploying at all. Fortunately, the fix is pretty simple once you've located the file it lives in.

So, here's the general class question pool! Explore away.


Comments