pb_obtain 0.7.5 copy "pb_obtain: ^0.7.5" to clipboard
pb_obtain: ^0.7.5 copied to clipboard

Download and run PocketBase releases by version.

pb_obtain #

Download (and run) a specific PocketBase release for tests or whenever it may come in handy.

Experimental #

This package is experimental and will have significant cleanup around the YAML and command line flags.

I'm expecting to get to 1.0 quickly after those are sorted out.

Getting Started #

Choose a directory (RELEASE_DIRECTORY) where you will store the downloaded binaries.

Optional: create a directory (POCKETBASE_CONFIG) to store your migrations and hooks that will be used to start up PocketBase.

You can either create a YAML file for reusable config or just use the command line flags.

# PocketBase DTO Generator Configuration
version: RELEASE_VERSION
release-directory: RELEASE_DIRECTORY
config: POCKETBASE_CONFIG
port: PORT

Add this package as a dependency.

$ dart pub add dev:pb_obtain

Run dart run pb_obtain:start_pocketbase. You should run this command when you update your migrations or when you upgrade this package.

0
likes
130
points
896
downloads

Publisher

unverified uploader

Weekly Downloads

Download and run PocketBase releases by version.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

archive, args, checked_yaml, crypto, csv, dart_style, dcli, freezed_annotation, http, json_annotation, json_serializable, meta, path, yaml

More

Packages that depend on pb_obtain