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
+35-5Lines changed: 35 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,14 +13,12 @@ The primary motivation for this project is to enable additions to SQLite with on
13
13
Note that earlier versions of the project only provided pre-built artifacts in the
14
14
"buildless" branch; that branch will no longer be maintained.
15
15
16
-
Minor build customization (e.g. changing build defines or flags) can be done with [make arguments](https://github.com/rhashimoto/wa-sqlite/discussions/128), and the helper project [sqwab](https://github.com/rhashimoto/sqwab) can be used to build without a local build environment.
17
-
18
-
If you do want to build yourself, here are the prerequisites:
16
+
If you do want to build - e.g. you want to change build flags, use a specific EMSDK version, or modify wa-sqlite itself - here are the prerequisites:
19
17
20
18
* Building on Debian Linux is known to work, compatibility with other platforms is unknown.
21
19
*`yarn` - If you use a different package manager (e.g. `npm`) then file paths in the demo will need adjustment.
The default build produces ES6 modules + WASM, [synchronous and asynchronous](https://github.com/rhashimoto/wa-sqlite/issues/7) (using Asyncify) in `dist/`.
33
31
32
+
## JouneyApps instructions
33
+
34
+
Note as per above that this is known to compile under Debian.
35
+
36
+
MacOS initially complained about OpenSSL config. Compiling on MacOS may be possible with additional config, but this is currently unknown.
37
+
38
+
Development has been done using VSCode's [development container](https://code.visualstudio.com/docs/devcontainers/containers) feature.
39
+
40
+
```bash
41
+
git clone [this repo]
42
+
```
43
+
44
+
45
+
```bash
46
+
git submodule init
47
+
```
48
+
49
+
```bash
50
+
git submodule update --recursive
51
+
```
52
+
53
+
```bash
54
+
yarn install
55
+
56
+
```
57
+
58
+
59
+
```bash
60
+
make -B
61
+
```
62
+
63
+
34
64
## API
35
65
Javascript wrappers for core SQLITE C API functions (and some others) are provided. Some convenience functions are also provided to reduce boilerplate. Here's sample code to load the library and call the API:
36
66
@@ -76,4 +106,4 @@ For convenience, if any text region is selected in the editor, only that region
76
106
## License
77
107
MIT License as of February 10, 2023, changed by generous sponsors
78
108
[Fleet Device Management](https://fleetdm.com/) and [Reflect](https://reflect.app/).
79
-
Existing licensees may continue under the GPLv3 or switch to the new license.
109
+
Existing licensees may continue under the GPLv3 or switch to the new license.
0 commit comments