github.com/ravendb/ravendb-go-client@v0.0.0-20240229102137-4474ee7aa0fa/readme-dev.md (about) 1 [![Linux build Status](https://travis-ci.org/ravendb/ravendb-go-client.svg?branch=master)](https://travis-ci.org/ravendb/ravendb-go-client) [![Windows build status](https://ci.appveyor.com/api/projects/status/rf326yoxl1uf444h/branch/master?svg=true)](https://ci.appveyor.com/project/ravendb/ravendb-go-client/branch/master) 2 3 # How to install and run 4 5 This is information for working on the library itself. For docs on how to use the library, see [readme.md](readme.md). 6 7 You need go 1.11 or later. Earlier versions have bugs that affect us (https://github.com/golang/go/issues/18468, https://github.com/golang/go/issues/26390) and don't support modules. 8 9 ``` 10 git clone https://github.com/ravendb/ravendb-go-client.git 11 cd ravendb-go-client 12 ``` 13 14 # Developing on Windows 15 16 To run all tests: `.\scripts\run_tests.ps1`. 17 18 On Windows, if RavenDB server is not present locally, we'll download it to `RavenDB` directory. 19 20 # Developing on Mac 21 22 To avoid writing helper scripts twice, many are written in PowerShell. You can install PowerShell on mac using [Homebrew](https://brew.sh/): `brew cask install powershell` (see https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-macos?view=powershell-6 for up-to-date information). 23 24 For running HTTPS tests you must import `certs/ca.crt` as trusted certificate: 25 26 * double-click on `certs/ca.crt` file. That opens `Keychain Access` system app. 27 * lick on `Certificates` category, double-click on `a.javatest11.development.run` certificate. 28 * this opens a dialog box. In `Trust` section select `Always Trust` drop-down item. 29 30 To run all tests: `./scripts/run_tests.ps` 31 32 More dev information: 33 * [porting_notes.md](porting_notes.md) 34 * [handling_maps.md](handling_maps.md)