From 111bc59472a8a2c7655f72191ca59b1db7d9fb9c Mon Sep 17 00:00:00 2001 From: Franco Profeti Date: Wed, 13 Jul 2022 02:12:25 -0300 Subject: [PATCH] [#93] improved the README for no golang devs --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e5bc779..fdf6014e 100644 --- a/README.md +++ b/README.md @@ -91,10 +91,12 @@ Running/building the application is the same as for any other Go program, aka. j **PocketBase embeds SQLite, but doesn't require CGO.** -If CGO is enabled, it will use [mattn/go-sqlite3](https://pkg.go.dev/github.com/mattn/go-sqlite3) driver, otherwise - [modernc.org/sqlite](https://pkg.go.dev/modernc.org/sqlite). +If CGO is enabled, it will use [mattn/go-sqlite3](https://pkg.go.dev/github.com/mattn/go-sqlite3) driver, otherwise - [modernc.org/sqlite](https://pkg.go.dev/modernc.org/sqlite). You can enable and disable CGO by setting the `CGO_ENABLED` enviroment variable to `1` or `0` respectively. Enable CGO only if you really need to squeeze the read/write query performance at the expense of complicating cross compilation. +To build the minimal standalone executable, like the prebuilt ones in the releases page, you can simply run `go build` inside the `examples/base` directory. + ### Testing PocketBase comes with mixed bag of unit and integration tests.