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
+7-8Lines changed: 7 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,14 +2,13 @@
2
2
3
3
##### A simple, self-contained, serverless, zero-configuration, [json](http://www.json.org/) document store.
4
4
5
-
JSONlite sandboxes the current working directory just like [SQLite](https://www.sqlite.org/). The data directory is named `jsonlite.data`, and each json document is saved pretty printed as a uuid.
5
+
JSONlite sandboxes the current working similar to [SQLite](https://www.sqlite.org/). The JSONlite data directory is named `jsonlite.data`, and each json document is saved pretty printed as a uuid.
You may optionally set the path to the data directory. It defaults to `$PWD/jsonlite.data` but can manually be set with the `JSONLITE_PATH` environment variable.
23
+
You may optionally set the path to the data directory. It defaults to `$PWD/jsonlite.data` but can manually be set with the `JSONLITE_DATA_DIR` environment variable.
25
24
26
25
````
27
26
# default
28
-
export JSONLITE_PATH=$PWD/jsonlite.data
27
+
export JSONLITE_DATA_DIR="$PWD"/jsonlite.data
29
28
30
-
# manually set to /tmp/jsonlite.data
31
-
export JSONLITE_PATH=/tmp/jsonlite.data
29
+
# manually set the data directory
30
+
export JSONLITE_DATA_DIR=/tmp/jsonlite.data
32
31
````
33
32
34
33
## API/Commands
@@ -154,7 +153,7 @@ For more information on semantic versioning, visit http://semver.org/.
154
153
155
154
## License & Legal
156
155
157
-
Copyright 2016 Justin Keller
156
+
Copyright 2017 Justin Keller
158
157
159
158
Licensed under the Apache License, Version 2.0 (the "License");
160
159
you may not use this file except in compliance with the License.
0 commit comments