diff --git a/install_prerequisite.sh b/install_prerequisite.sh index ad8e8dc0..faa1a620 100755 --- a/install_prerequisite.sh +++ b/install_prerequisite.sh @@ -169,6 +169,9 @@ cd ~ #install tcl apt-get install -y --no-install-recommends tcl +#install sqlite3 +apt-get install -y --no-install-recommends sqlite3 + # Docker: Error response from daemon: cgroups: cgroup mountpoint does not exist: unknown # if using docker use privileged mode with cgroup mounted (-v /sys/fs/cgroup:/sys/fs/cgroup:rw ) mkdir /sys/fs/cgroup/systemd || true @@ -225,6 +228,7 @@ if [ $run_tests -eq 1 ]; then "rustc --version" "rust-gdb --version" "evcxr --version" + "sqlite3 --version" ) diff --git a/src/containers/container.go b/src/containers/container.go index 669c8266..9e935aa1 100644 --- a/src/containers/container.go +++ b/src/containers/container.go @@ -33,6 +33,7 @@ var Commands2memLimitMap = map[string]int64{ "tclsh": 2, "java": 128, // jvm takes lot of memory "evcxr": 50, // rust REPL + "sqlite3": 10, } var memLimitMutex sync.Mutex diff --git a/src/resources/chat-widget/src/openreplkeywords.ts b/src/resources/chat-widget/src/openreplkeywords.ts index 25e083e5..3d93aacf 100644 --- a/src/resources/chat-widget/src/openreplkeywords.ts +++ b/src/resources/chat-widget/src/openreplkeywords.ts @@ -75,6 +75,12 @@ export const documentation = `\nOpenREPL is an Online platform for checking code "title": "Rust Book", "documentation": "https://doc.rust-lang.org/book/title-page.html", "github": "https://github.com/evcxr/evcxr" + }, + { + "language": "SQLite", + "title": "SQLite Doc", + "documentation": "https://sqlite.org/cli.html", + "github": "https://github.com/sqlite/sqlite" } ] }` \ No newline at end of file diff --git a/src/resources/index.html b/src/resources/index.html index 08572345..04a73526 100755 --- a/src/resources/index.html +++ b/src/resources/index.html @@ -236,6 +236,7 @@