You've already forked pocketbase
							
							
				mirror of
				https://github.com/pocketbase/pocketbase.git
				synced 2025-10-31 08:37:38 +02:00 
			
		
		
		
	[#93] improved the README for no golang devs
This commit is contained in:
		| @@ -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.** | **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. | 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 | ### Testing | ||||||
|  |  | ||||||
| PocketBase comes with mixed bag of unit and integration tests. | PocketBase comes with mixed bag of unit and integration tests. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user