Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
louislam authored Oct 17, 2022
1 parent f3d572f commit 39a31c2
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
# Fork of node-sqlite3 with many pre-built supports
# node-sqlite3 with CentOS 7 support

Mainly used for my another project - [Uptime Kuma](https://github.com/louislam/uptime-kuma)

## (2022-10-15) Update
## What is the different between TryGhost/node-sqlite3?

The official build supports arm pre-built now, but it is not supported CentOS 7, so I keep using my own build.
The official one is dropped the support for CentOS 7, but my fork supports CentOS 7.

- Support CentOS 7 (As of 5.1.2, official one do not support it)
If you want to build a Node.js application which can be installed on many Linux distributions like Uptime Kuma, this library should be useful.

If your application will be just designed for new Linux distributions, you probably do not need it, just use the official one.


PS: No electron supports
Expand All @@ -20,9 +22,15 @@ npm remove sqlite3

Replace require("@louislam/sqlite") in your source code

## Prepare Prebuilt
## Documentation

https://github.com/TryGhost/node-sqlite3

## (For Maintainers/Developers Only)

###Prepare Prebuilt

### glibc & musl
#### glibc & musl

```bash
npm run build-binaries
Expand All @@ -37,10 +45,10 @@ glibc
musl (alpine)
- armv7/arm64/amd64 - npm run build-linux-alpine

### Windows / MacOS
#### Windows / MacOS
- Get from Github Action

### Mac ARM64 (M1/M2)
#### Mac ARM64 (M1/M2)
- Get from TryGhost/node-sqlite3
- Rename to `napi-v6-darwin-arm64-unknown.tar.gz`
- Use 7zip to rename the folder inside to `napi-v6-darwin-arm64`

0 comments on commit 39a31c2

Please sign in to comment.