You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13-12Lines changed: 13 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,24 +52,24 @@ This gem wraps the standalone executable version of the [Litestream](https://lit
52
52
53
53
Supported platforms are:
54
54
55
-
* arm64-darwin (macos-arm64)
56
-
* x86_64-darwin (macos-x64)
57
-
* arm64-linux (linux-arm64)
58
-
* x86_64-linux (linux-x64)
55
+
- arm64-darwin (macos-arm64)
56
+
- x86_64-darwin (macos-x64)
57
+
- arm64-linux (linux-arm64)
58
+
- x86_64-linux (linux-x64)
59
59
60
60
### Using a local installation of `litestream`
61
61
62
62
If you are not able to use the vendored standalone executables (for example, if you're on an unsupported platform), you can use a local installation of the `litestream` executable by setting an environment variable named `LITESTREAM_INSTALL_DIR` to the directory containing the executable.
63
63
64
64
For example, if you've installed `litestream` so that the executable is found at `/usr/local/bin/litestream`, then you should set your environment variable like so:
65
65
66
-
```sh
66
+
```sh
67
67
LITESTREAM_INSTALL_DIR=/usr/local/bin
68
68
```
69
69
70
70
This also works with relative paths. If you've installed into your app's directory at `./.bin/litestream`:
71
71
72
-
```sh
72
+
```sh
73
73
LITESTREAM_INSTALL_DIR=.bin
74
74
```
75
75
@@ -95,11 +95,12 @@ dbs:
95
95
The gem also provides a default initializer file at `config/initializers/litestream.rb` that allows you to configure these four environment variables referenced in the configuration file in Ruby. By providing a Ruby interface to these environment variables, you can use any method of storing secrets that you prefer. For example, the default generated file uses Rails' encrypted credentials to store your secrets:
0 commit comments