sqlite-workspace with NocoDB
|
@ -1,126 +0,0 @@
|
|||
{
|
||||
"private": true,
|
||||
"theia": {
|
||||
"frontend": {
|
||||
"config": {
|
||||
"applicationName": "Theia IDE",
|
||||
"warnOnPotentiallyInsecureHostPattern": false,
|
||||
"preferences": {
|
||||
"files.enableTrash": false
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"resolutions": {
|
||||
"**/*/colors": "1.4.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@theia/editor-preview": "1.15.0",
|
||||
"@theia/file-search": "1.15.0",
|
||||
"@theia/getting-started": "1.15.0",
|
||||
"@theia/git": "1.15.0",
|
||||
"@theia/markers": "1.15.0",
|
||||
"@theia/messages": "1.15.0",
|
||||
"@theia/monaco": "1.15.0",
|
||||
"@theia/navigator": "1.15.0",
|
||||
"@theia/outline-view": "1.15.0",
|
||||
"@theia/plugin-ext-vscode": "1.15.0",
|
||||
"@theia/preferences": "1.15.0",
|
||||
"@theia/preview": "1.15.0",
|
||||
"@theia/search-in-workspace": "1.15.0",
|
||||
"@theia/terminal": "1.15.0",
|
||||
"@theia/vsx-registry": "1.15.0",
|
||||
"sqlite3": "5.0.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@theia/cli": "1.15.0"
|
||||
},
|
||||
"scripts": {
|
||||
"preinstall": "node-gyp install"
|
||||
},
|
||||
"theiaPluginsDir": "plugins",
|
||||
"theiaPlugins": {
|
||||
"vscode-builtin-bat": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/bat-1.39.1-prel.vsix",
|
||||
"vscode-builtin-clojure": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/clojure-1.39.1-prel.vsix",
|
||||
"vscode-builtin-coffeescript": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/coffeescript-1.39.1-prel.vsix",
|
||||
"vscode-builtin-configuration-editing": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/configuration-editing-1.39.1-prel.vsix",
|
||||
"vscode-builtin-cpp": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/cpp-1.39.1-prel.vsix",
|
||||
"vscode-builtin-csharp": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/csharp-1.39.1-prel.vsix",
|
||||
"vscode-builtin-css": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/css-1.39.1-prel.vsix",
|
||||
"vscode-builtin-debug-auto-launch": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/debug-auto-launch-1.39.1-prel.vsix",
|
||||
"vscode-builtin-docker": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/docker-1.39.1-prel.vsix",
|
||||
"vscode-builtin-emmet": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/emmet-1.39.1-prel.vsix",
|
||||
"vscode-builtin-fsharp": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/fsharp-1.39.1-prel.vsix",
|
||||
"vscode-builtin-go": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/go-1.39.1-prel.vsix",
|
||||
"vscode-builtin-groovy": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/groovy-1.39.1-prel.vsix",
|
||||
"vscode-builtin-grunt": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/grunt-1.39.1-prel.vsix",
|
||||
"vscode-builtin-gulp": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/gulp-1.39.1-prel.vsix",
|
||||
"vscode-builtin-handlebars": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/handlebars-1.39.1-prel.vsix",
|
||||
"vscode-builtin-hlsl": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/hlsl-1.39.1-prel.vsix",
|
||||
"vscode-builtin-html": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/html-1.39.1-prel.vsix",
|
||||
"vscode-builtin-html-language-features": "https://open-vsx.org/api/vscode/html-language-features/1.49.0/file/vscode.html-language-features-1.49.0.vsix",
|
||||
"vscode-builtin-ini": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/ini-1.39.1-prel.vsix",
|
||||
"vscode-builtin-jake": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/jake-1.39.1-prel.vsix",
|
||||
"vscode-builtin-java": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/java-1.39.1-prel.vsix",
|
||||
"vscode-builtin-javascript": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/javascript-1.39.1-prel.vsix",
|
||||
"vscode-builtin-json": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/json-1.39.1-prel.vsix",
|
||||
"vscode-builtin-json-language-features": "https://open-vsx.org/api/vscode/json-language-features/1.46.1/file/vscode.json-language-features-1.46.1.vsix",
|
||||
"vscode-builtin-less": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/less-1.39.1-prel.vsix",
|
||||
"vscode-builtin-log": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/log-1.39.1-prel.vsix",
|
||||
"vscode-builtin-lua": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/lua-1.39.1-prel.vsix",
|
||||
"vscode-builtin-make": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/make-1.39.1-prel.vsix",
|
||||
"vscode-builtin-markdown": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/markdown-1.39.1-prel.vsix",
|
||||
"vscode-builtin-merge-conflicts": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/merge-conflict-1.39.1-prel.vsix",
|
||||
"vscode-builtin-npm": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/npm-1.39.1-prel.vsix",
|
||||
"vscode-builtin-node-debug": "https://github.com/theia-ide/vscode-node-debug/releases/download/v1.35.3/node-debug-1.35.3.vsix",
|
||||
"vscode-builtin-node-debug2": "https://github.com/theia-ide/vscode-node-debug2/releases/download/v1.33.0/node-debug2-1.33.0.vsix",
|
||||
"vscode-builtin-objective-c": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/objective-c-1.39.1-prel.vsix",
|
||||
"vscode-builtin-perl": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/perl-1.39.1-prel.vsix",
|
||||
"vscode-builtin-powershell": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/powershell-1.39.1-prel.vsix",
|
||||
"vscode-builtin-pug": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/pug-1.39.1-prel.vsix",
|
||||
"vscode-builtin-python": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/python-1.39.1-prel.vsix",
|
||||
"vscode-builtin-r": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/r-1.39.1-prel.vsix",
|
||||
"vscode-builtin-razor": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/razor-1.39.1-prel.vsix",
|
||||
"vscode-builtin-ruby": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/ruby-1.39.1-prel.vsix",
|
||||
"vscode-builtin-rust": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/rust-1.39.1-prel.vsix",
|
||||
"vscode-builtin-scss": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/scss-1.39.1-prel.vsix",
|
||||
"vscode-builtin-shaderlab": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/shaderlab-1.39.1-prel.vsix",
|
||||
"vscode-builtin-shellscript": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/shellscript-1.39.1-prel.vsix",
|
||||
"vscode-builtin-sql": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/sql-1.39.1-prel.vsix",
|
||||
"vscode-builtin-swift": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/swift-1.39.1-prel.vsix",
|
||||
"vscode-builtin-theme-abyss": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/theme-abyss-1.39.1-prel.vsix",
|
||||
"vscode-builtin-theme-defaults": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/theme-defaults-1.39.1-prel.vsix",
|
||||
"vscode-builtin-theme-kimbie-dark": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/theme-kimbie-dark-1.39.1-prel.vsix",
|
||||
"vscode-builtin-theme-monokai": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/theme-monokai-1.39.1-prel.vsix",
|
||||
"vscode-builtin-theme-dimmed": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/theme-monokai-dimmed-1.39.1-prel.vsix",
|
||||
"vscode-builtin-theme-quietlight": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/theme-quietlight-1.39.1-prel.vsix",
|
||||
"vscode-builtin-theme-red": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/theme-red-1.39.1-prel.vsix",
|
||||
"vscode-builtin-theme-solarized-dark": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/theme-solarized-dark-1.39.1-prel.vsix",
|
||||
"vscode-builtin-theme-tomorrow-night-blue": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/theme-tomorrow-night-blue-1.39.1-prel.vsix",
|
||||
"vscode-builtin-typescript": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/typescript-1.39.1-prel.vsix",
|
||||
"vscode-builtin-typescript-language-features": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/typescript-language-features-1.39.1-prel.vsix",
|
||||
"vscode-builtin-vb": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/vb-1.39.1-prel.vsix",
|
||||
"vscode-builtin-icon-theme-seti": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/vscode-theme-seti-1.39.1-prel.vsix",
|
||||
"vscode-builtin-xml": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/xml-1.39.1-prel.vsix",
|
||||
"vscode-builtin-yaml": "https://github.com/theia-ide/vscode-builtin-extensions/releases/download/v1.39.1-prel/yaml-1.39.1-prel.vsix",
|
||||
"vscode-editorconfig": "https://github.com/theia-ide/editorconfig-vscode/releases/download/v0.14.4/EditorConfig-0.14.4.vsix",
|
||||
"vscode-python": "https://open-vsx.org/api/ms-python/python/2020.8.105369/file/ms-python.python-2020.8.105369.vsix",
|
||||
"nadim-vscode.infinity-dark-theme": "https://open-vsx.org/api/nadim-vscode/infinity-dark-theme/1.0.1/file/nadim-vscode.infinity-dark-theme-1.0.1.vsix",
|
||||
"emroussel.atomize-atom-one-dark-theme": "https://open-vsx.org/api/emroussel/atomize-atom-one-dark-theme/1.5.5/file/emroussel.atomize-atom-one-dark-theme-1.5.5.vsix",
|
||||
"mhutchie.git-graph": "https://open-vsx.org/api/mhutchie/git-graph/1.30.0/file/mhutchie.git-graph-1.30.0.vsix",
|
||||
"teabyii.ayu": "https://open-vsx.org/api/teabyii/ayu/0.20.1/file/teabyii.ayu-0.20.1.vsix",
|
||||
"yurihs.sublime-vscode-theme": "https://open-vsx.org/api/yurihs/sublime-vscode-theme/1.4.1/file/yurihs.sublime-vscode-theme-1.4.1.vsix",
|
||||
"wesbos.theme-cobalt2": "https://open-vsx.org/api/wesbos/theme-cobalt2/2.1.6/file/wesbos.theme-cobalt2-2.1.6.vsix",
|
||||
"github.github-vscode-theme": "https://open-vsx.org/api/GitHub/github-vscode-theme/4.1.1/file/GitHub.github-vscode-theme-4.1.1.vsix",
|
||||
"armandphilippot.coldark": "https://open-vsx.org/api/armandphilippot/coldark/1.2.9/file/armandphilippot.coldark-1.2.9.vsix",
|
||||
"radiolevity.search-lights": "https://open-vsx.org/api/radiolevity/search-lights/1.10.1/file/radiolevity.search-lights-1.10.1.vsix",
|
||||
"vladeeg.vscode-theme-vlight": "https://open-vsx.org/api/Vladeeg/vscode-theme-vlight/2.1.0/file/Vladeeg.vscode-theme-vlight-2.1.0.vsix",
|
||||
"akamud.vscode-theme-onelight": "https://open-vsx.org/api/akamud/vscode-theme-onelight/2.2.3/file/akamud.vscode-theme-onelight-2.2.3.vsix",
|
||||
"akamud.vscode-theme-onedark": "https://open-vsx.org/api/akamud/vscode-theme-onedark/2.2.3/file/akamud.vscode-theme-onedark-2.2.3.vsix",
|
||||
"laurenttreguier.vscode-simple-icons": "https://open-vsx.org/api/LaurentTreguier/vscode-simple-icons/1.16.0/file/LaurentTreguier.vscode-simple-icons-1.16.0.vsix",
|
||||
"technicolor-creamsicle.deepdark-material": "https://open-vsx.org/api/technicolor-creamsicle/deepdark-material/3.3.0/file/technicolor-creamsicle.deepdark-material-3.3.0.vsix",
|
||||
"cweijan.vscode-postgresql-client2": "https://open-vsx.org/api/cweijan/vscode-postgresql-client2/3.7.0/file/cweijan.vscode-postgresql-client2-3.7.0.vsix",
|
||||
"mtxr.sqltools": "https://open-vsx.org/api/mtxr/sqltools/0.23.0/file/mtxr.sqltools-0.23.0.vsix",
|
||||
"mtxr.sqltools-driver-sqlite": "https://open-vsx.org/api/mtxr/sqltools-driver-sqlite/0.2.0/file/mtxr.sqltools-driver-sqlite-0.2.0.vsix"
|
||||
}
|
||||
}
|
|
@ -1,5 +0,0 @@
|
|||
{
|
||||
"terminal.integrated.shell.linux": "/bin/zsh",
|
||||
"workbench.colorTheme": "Search Lights Italic",
|
||||
"git-graph.maxDepthOfRepoSearch": 3
|
||||
}
|
|
@ -11,8 +11,31 @@ COPY supervisord-sqlite.conf /etc/supervisord/
|
|||
COPY mkdocs /home/docs
|
||||
COPY README.md /home/docs/docs/docs.md
|
||||
|
||||
# apt-get install -y sqlite3 \
|
||||
|
||||
RUN echo "------------------------------------------------------ sqlite3" \
|
||||
&& apt-get install -y sqlite3 \
|
||||
&& cd /tmp && wget https://sqlite.org/2021/sqlite-autoconf-3350400.tar.gz \
|
||||
&& tar zxvf /tmp/sqlite-autoconf-3350400.tar.gz \
|
||||
&& cd /tmp/sqlite-autoconf-3350400 \
|
||||
&& ./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--enable-fts5 \
|
||||
CPPFLAGS="-DSQLITE_ENABLE_FTS3=1 \
|
||||
-DSQLITE_ENABLE_FTS4=1 \
|
||||
-DSQLITE_ENABLE_COLUMN_METADATA=1 \
|
||||
-DSQLITE_ENABLE_UNLOCK_NOTIFY=1 \
|
||||
-DSQLITE_ENABLE_DBSTAT_VTAB=1 \
|
||||
-DSQLITE_SECURE_DELETE=1 \
|
||||
-DSQLITE_ENABLE_FTS3_TOKENIZER=1" \
|
||||
&& make \
|
||||
&& make install \
|
||||
&& rm /tmp/sqlite-autoconf-3350400.tar.gz \
|
||||
&& rm -rf /tmp/sqlite-autoconf-3350400 \
|
||||
&& echo "------------------------------------------------------ nocodb" \
|
||||
&& cd /; mkdir /opt/nocodb/ \
|
||||
&& git clone https://github.com/nocodb/nocodb-seed /opt/nocodb/ \
|
||||
&& cd /opt/nocodb && nodeenv --node=12.18.3 --npm=6.0.0 env \
|
||||
&& cd /opt/nocodb && . env/bin/activate && npm install \
|
||||
&& echo "------------------------------------------------------ cli" \
|
||||
&& pip install litecli==1.7.0 \
|
||||
&& echo "------------------------------------------------------ rclone" \
|
||||
|
@ -53,6 +76,8 @@ RUN echo "------------------------------------------------------ sqlite3" \
|
|||
&& chown -R abc /opt/dbdesigner \
|
||||
&& mkdir /var/log/dbdesigner && chown -R abc /var/log/dbdesigner \
|
||||
&& mkdir /var/log/sqlite-web && chown -R abc /var/log/sqlite-web \
|
||||
&& chown -R abc /opt/nocodb \
|
||||
&& mkdir /var/log/nocodb && chown -R abc /var/log/nocodb \
|
||||
&& echo "export PAGER='pspg -s 4 --no-mouse'" >> /home/abc/.zshrc \
|
||||
&& find /home -type d | xargs -I{} chown -R abc {} \
|
||||
&& find /home -type f | xargs -I{} chown abc {}
|
||||
|
@ -62,8 +87,11 @@ COPY dbdesigner/startUp.js /opt/dbdesigner/dist/startUp.js
|
|||
|
||||
ENV SQLITE_VIEWER_URL=http://localhost:8022/sqlite-viewer/ \
|
||||
SQLITE_WEB_GUI_URL=http://localhost:8022/web-gui-sqlite/ \
|
||||
SQLITE_WEB_CUSTOM_URL=http://localhost:8033/
|
||||
SQLITE_WEB_CUSTOM_URL=http://localhost:8034/ \
|
||||
PORT=8030
|
||||
|
||||
USER abc
|
||||
|
||||
|
||||
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# SQLite Workspace
|
||||
|
||||
Collection of tools to work with SQLite.
|
||||
Collection of tools to work with SQLite. Useful if you need to develop embedded SQLite databases.
|
||||
|
||||
Helps to get started fast locally, because SQLite and toolset are already installed and configured. It is only needed
|
||||
to start a container.
|
||||
|
@ -20,12 +20,13 @@ Open [localhost:8020](http://localhost:8020)
|
|||
__SQLite Features:__
|
||||
|
||||
1. [sqlean](https://github.com/nalgeon/sqlean). The ultimate set of compiled SQLite extensions.
|
||||
2. [sqlite-web](https://github.com/coleifer/sqlite-web). Web-based SQLite database browser.
|
||||
3. [litecli](https://github.com/dbcli/litecli). CLI for SQLite.
|
||||
4. [sqlite-viewer](https://github.com/inloop/sqlite-viewer). View SQLite file online.
|
||||
5. [Web-GUI-for-SQLite](https://github.com/cyrilbois/Web-GUI-for-SQLite). Alternative tool to view SQLite file online.
|
||||
6. [DBdesigner](https://github.com/akreienbring/dbdesigner). Draw ERD diagrams and use it to generate DDL code.
|
||||
7. [tbls](https://github.com/k1LoW/tbls). Generate documentation (essentially data catalog) from the database
|
||||
2. [nocodb](https://docs.nocodb.com/). Great UI to fill SQLite with data. NocoDB is an open source Airtable alternative.
|
||||
3. [sqlite-web](https://github.com/coleifer/sqlite-web). Web-based SQLite database browser.
|
||||
4. [litecli](https://github.com/dbcli/litecli). CLI for SQLite.
|
||||
5. [sqlite-viewer](https://github.com/inloop/sqlite-viewer). View SQLite file online.
|
||||
6. [Web-GUI-for-SQLite](https://github.com/cyrilbois/Web-GUI-for-SQLite). Alternative tool to view SQLite file online.
|
||||
7. [DBdesigner](https://github.com/akreienbring/dbdesigner). Draw ERD diagrams and use it to generate DDL code.
|
||||
8. [tbls](https://github.com/k1LoW/tbls). Generate documentation (essentially data catalog) from the database
|
||||
|
||||
__Workspace Features:__
|
||||
|
||||
|
@ -53,6 +54,26 @@ __Workspace Features:__
|
|||
|
||||
## Get started
|
||||
|
||||
### NocoDB
|
||||
|
||||
[NocoDB](https://docs.nocodb.com/). NocoDB is an open source Airtable alternative. Use it to create SQLite tables, develop databases
|
||||
without SQL.
|
||||
|
||||
Launch the workspace, navigate to the Workspace UI and open NocoDB. Or open [localhost:8030](http://localhost:8030/) directly in browser.
|
||||
Create new user (provide any email,pass). Create tables, enter data, import data files, create forms and much more.
|
||||
|
||||
NocoDB is backed by SQLite3, database file `/opt/nocodb/noco.db `.
|
||||
|
||||
You can query NocoDB databse directly with sqlite-web. Open it through the Workspace UI, or navigate to [localhost:8031](http://localhost:8031/) directly.
|
||||
|
||||
At any moment you can copy SQLite database from NocoDB with all the data, edit, modify and configure for the needs of your application.
|
||||
- Copy of NocoDB database and continue developing with Sqlite-web
|
||||
```
|
||||
mv -f /opt/nocodb/noco.db /home/project/sqlite-db/db-main.sqlite
|
||||
```
|
||||
Open Sqlite-web on [localhost:8032](http://localhost:8032/)
|
||||
|
||||
|
||||
### Sqlite
|
||||
|
||||
SQLite3 is installed. Open terminal [http://localhost:8026/](http://localhost:8026/) and execute
|
||||
|
@ -87,29 +108,46 @@ sqlite3
|
|||
|
||||
### [sqlite-web](https://github.com/coleifer/sqlite-web)
|
||||
|
||||
Serve any SQLite database. There is a port assigned - 8033. Use this port to start sqlite-web for your database.
|
||||
Workspace UI has a shorcut to quickly open sqlite-web running on port 8033.
|
||||
Serve any SQLite database. There are 2 SQlite database served by default:
|
||||
- NocoDB database. Sqlite-web is served on [localhost:8031](http://localhost:8031/)
|
||||
- "Main" database. Empty SQlite3 database. Sqlite-web is served on [localhost:8032](http://localhost:8032/)
|
||||
- "Example/test" database. Filled with test "Chinook" database. Sqlite-web is served on [localhost:8033](http://localhost:8033/)
|
||||
|
||||
Example, start sqlite-web on port 8033 for SQLite database file `/home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite`
|
||||
|
||||
__Copy SQlite databases__
|
||||
SQlite is just a file, jou can copy it and replace other databases. For example, if you want to copy NocoDB database
|
||||
into the "Main" database, which is served by Sqlite-web on [localhost:8032](http://localhost:8032/) simply execute
|
||||
```
|
||||
mv -f /opt/nocodb/noco.db /home/project/sqlite-db/db-main.sqlite
|
||||
```
|
||||
|
||||
__Serve on-demand SQlite database__
|
||||
One port 8034 is reserved for serving on-demand database with Sqlite-web.
|
||||
Serve it with the following command
|
||||
```
|
||||
sqlite_web <path-to-your-sqlite-database-file> --host 0.0.0.0 --port 8034
|
||||
```
|
||||
|
||||
Example, start sqlite-web on port 8034 for SQLite database file `/home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite`
|
||||
|
||||
```
|
||||
sqlite_web /home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite --host 0.0.0.0 --port 8033
|
||||
sqlite_web /home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite --host 0.0.0.0 --port 8034
|
||||
```
|
||||
|
||||
and with extensions loaded:
|
||||
|
||||
```
|
||||
sqlite_web /home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite --host 0.0.0.0 --port 8033 -e /home/sqlite-extensions/text.so -e /home/sqlite-extensions/unicode.so -e /home/sqlite-extensions/uuid.so
|
||||
sqlite_web /home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite --host 0.0.0.0 --port 8034 -e /home/sqlite-extensions/text.so -e /home/sqlite-extensions/unicode.so -e /home/sqlite-extensions/uuid.so
|
||||
```
|
||||
|
||||
### [sqlite-viewer](https://github.com/inloop/sqlite-viewer). View SQLite file online.
|
||||
|
||||
Upload SQLite database file (from your local machine) annd explore.
|
||||
Upload SQLite database file (from your local machine) and explore.
|
||||
|
||||
|
||||
### [Web-GUI-for-SQLite](https://github.com/cyrilbois/Web-GUI-for-SQLite)
|
||||
|
||||
Upload SQLite database file (from your local machine) annd explore.
|
||||
Upload SQLite database file (from your local machine) and explore.
|
||||
|
||||
|
||||
### [litecli](https://github.com/dbcli/litecli)
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
|
@ -79,10 +79,16 @@
|
|||
"description": "Schedule jobs, manage schedules, observe and monitor executions (user/pass - admin/admin)"
|
||||
},
|
||||
{
|
||||
"env": "DBDESIGNER_URL",
|
||||
"name": "DB designer",
|
||||
"image": "dbdesigner.png",
|
||||
"description": "Visual design tool for Entity Relationship Diagrams & SQL generator"
|
||||
"env": "NOCODB_URL",
|
||||
"name": "NocoDB",
|
||||
"image": "Nocodb.png",
|
||||
"description": "Open source Airtable alternative. GUI for your SQLite database."
|
||||
},
|
||||
{
|
||||
"env": "SQLITE_WEB_NOCODB",
|
||||
"name": "SQLite database browser for NocoDB",
|
||||
"image": "db-test.jpg",
|
||||
"description": "Explore and query SQLite database of NocoDB"
|
||||
},
|
||||
{
|
||||
"env": "SQLITE_WEB_MAIN_URL",
|
||||
|
@ -90,12 +96,6 @@
|
|||
"image": "db-main.jpg",
|
||||
"description": "Develop SQLite database with the help of WEB UI"
|
||||
},
|
||||
{
|
||||
"env": "SQLITE_WEB_TEST_URL",
|
||||
"name": "SQLite database browser (test)",
|
||||
"image": "db-test.jpg",
|
||||
"description": "Develop SQLite testing database with the help of WEB UI"
|
||||
},
|
||||
{
|
||||
"env": "SQLITE_WEB_EXAMPLE_URL",
|
||||
"name": "SQLite database browser (example)",
|
||||
|
@ -106,7 +106,13 @@
|
|||
"env": "SQLITE_WEB_CUSTOM_URL",
|
||||
"name": "SQLite database browser (custom)",
|
||||
"image": "db-custom.jpg",
|
||||
"description": "Not started! Start manually with your SQLite database, i.e. <b>sqlite_web /home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite --host 0.0.0.0 --port 8033</b>"
|
||||
"description": "Not started! Start manually with your SQLite database, i.e. <b>sqlite_web /home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite --host 0.0.0.0 --port 8034</b>"
|
||||
},
|
||||
{
|
||||
"env": "DBDESIGNER_URL",
|
||||
"name": "DB designer",
|
||||
"image": "dbdesigner.png",
|
||||
"description": "Visual design tool for Entity Relationship Diagrams & SQL generator"
|
||||
},
|
||||
{
|
||||
"env": "SQLITE_VIEWER_URL",
|
Before Width: | Height: | Size: 250 KiB After Width: | Height: | Size: 250 KiB |
Before Width: | Height: | Size: 124 KiB After Width: | Height: | Size: 124 KiB |
Before Width: | Height: | Size: 142 KiB After Width: | Height: | Size: 142 KiB |
Before Width: | Height: | Size: 192 KiB After Width: | Height: | Size: 192 KiB |
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 108 KiB |
Before Width: | Height: | Size: 652 KiB After Width: | Height: | Size: 652 KiB |
After Width: | Height: | Size: 294 KiB |
Before Width: | Height: | Size: 169 KiB After Width: | Height: | Size: 169 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 58 KiB |
Before Width: | Height: | Size: 155 KiB After Width: | Height: | Size: 155 KiB |
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
Before Width: | Height: | Size: 161 KiB After Width: | Height: | Size: 161 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 218 KiB After Width: | Height: | Size: 218 KiB |
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 128 KiB |
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 110 KiB |
|
@ -15,9 +15,10 @@ port_increments = {
|
|||
"MC_URL": 7,
|
||||
"HTOP_URL": 8,
|
||||
"DBDESIGNER_URL": 9,
|
||||
"SQLITE_WEB_TEST_URL": 10,
|
||||
"SQLITE_WEB_MAIN_URL": 11,
|
||||
"SQLITE_WEB_EXAMPLE_URL": 12
|
||||
"NOCODB_URL": 10,
|
||||
"SQLITE_WEB_NOCODB": 11,
|
||||
"SQLITE_WEB_MAIN_URL": 12,
|
||||
"SQLITE_WEB_EXAMPLE_URL": 13
|
||||
}
|
||||
|
||||
# this function name should not be changed
|
|
@ -14,17 +14,25 @@ stdout_logfile = /var/log/dbdesigner/dbdesigner-stdout.log
|
|||
logfile_maxbytes = 1024
|
||||
|
||||
|
||||
[program:sqlite-web-test]
|
||||
[program:nocodb]
|
||||
directory=/opt/nocodb
|
||||
command=/bin/sh -c "cd /opt/nocodb && . env/bin/activate && npm start" # port is defined by PORT env var
|
||||
stderr_logfile = /var/log/nocodb/nocodb-stderr.log
|
||||
stdout_logfile = /var/log/nocodb/nocodb-stdout.log
|
||||
logfile_maxbytes = 1024
|
||||
|
||||
|
||||
[program:sqlite-web-nocodb]
|
||||
directory=/home/project/
|
||||
command=/bin/sh -c "mkdir /home/project/sqlite-db; sqlite3 /home/project/db-test.sqlite 'VACUUM;'; sqlite_web /home/project/sqlite-db/db-test.sqlite --host 0.0.0.0 --port 8030 --no-browser -e /home/sqlite-extensions/fileio.so -e /home/sqlite-extensions/fuzzy.so -e /home/sqlite-extensions/ipaddr.so -e /home/sqlite-extensions/re.so -e /home/sqlite-extensions/spellfix.so -e /home/sqlite-extensions/stats.so -e /home/sqlite-extensions/text.so -e /home/sqlite-extensions/unicode.so -e /home/sqlite-extensions/uuid.so "
|
||||
stderr_logfile = /var/log/sqlite-web/sqlite-web-test-stderr.log
|
||||
stdout_logfile = /var/log/sqlite-web/sqlite-web-test-stdout.log
|
||||
command=/bin/sh -c "sqlite_web /opt/nocodb/noco.db --host 0.0.0.0 --port 8031 --no-browser -e /home/sqlite-extensions/fileio.so -e /home/sqlite-extensions/fuzzy.so -e /home/sqlite-extensions/ipaddr.so -e /home/sqlite-extensions/re.so -e /home/sqlite-extensions/spellfix.so -e /home/sqlite-extensions/stats.so -e /home/sqlite-extensions/text.so -e /home/sqlite-extensions/unicode.so -e /home/sqlite-extensions/uuid.so "
|
||||
stderr_logfile = /var/log/sqlite-web/sqlite-noco-stderr.log
|
||||
stdout_logfile = /var/log/sqlite-web/sqlite-noco-stdout.log
|
||||
logfile_maxbytes = 1024
|
||||
|
||||
|
||||
[program:sqlite-web-main]
|
||||
directory=/home/project/
|
||||
command=/bin/sh -c "mkdir /home/project/sqlite-db; sqlite3 /home/project/db-main.sqlite 'VACUUM;'; sqlite_web /home/project/sqlite-db/db-main.sqlite --host 0.0.0.0 --port 8031 --no-browser -e /home/sqlite-extensions/fileio.so -e /home/sqlite-extensions/fuzzy.so -e /home/sqlite-extensions/ipaddr.so -e /home/sqlite-extensions/re.so -e /home/sqlite-extensions/spellfix.so -e /home/sqlite-extensions/stats.so -e /home/sqlite-extensions/text.so -e /home/sqlite-extensions/unicode.so -e /home/sqlite-extensions/uuid.so "
|
||||
command=/bin/sh -c "mkdir /home/project/sqlite-db; sqlite3 /home/project/sqlite-db/db-main.sqlite 'VACUUM;'; sqlite_web /home/project/sqlite-db/db-main.sqlite --host 0.0.0.0 --port 8032 --no-browser -e /home/sqlite-extensions/fileio.so -e /home/sqlite-extensions/fuzzy.so -e /home/sqlite-extensions/ipaddr.so -e /home/sqlite-extensions/re.so -e /home/sqlite-extensions/spellfix.so -e /home/sqlite-extensions/stats.so -e /home/sqlite-extensions/text.so -e /home/sqlite-extensions/unicode.so -e /home/sqlite-extensions/uuid.so "
|
||||
stderr_logfile = /var/log/sqlite-web/sqlite-main-stderr.log
|
||||
stdout_logfile = /var/log/sqlite-web/sqlite-main-stdout.log
|
||||
logfile_maxbytes = 1024
|
||||
|
@ -32,7 +40,7 @@ logfile_maxbytes = 1024
|
|||
|
||||
[program:sqlite-web-example]
|
||||
directory=/home/project/
|
||||
command=/bin/sh -c "sqlite_web /home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite --host 0.0.0.0 --port 8032 --no-browser -e /home/sqlite-extensions/fileio.so -e /home/sqlite-extensions/fuzzy.so -e /home/sqlite-extensions/ipaddr.so -e /home/sqlite-extensions/re.so -e /home/sqlite-extensions/spellfix.so -e /home/sqlite-extensions/stats.so -e /home/sqlite-extensions/text.so -e /home/sqlite-extensions/unicode.so -e /home/sqlite-extensions/uuid.so "
|
||||
command=/bin/sh -c "sqlite_web /home/static-server/sqlite-viewer/examples/Chinook_Sqlite.sqlite --host 0.0.0.0 --port 8033 --no-browser -e /home/sqlite-extensions/fileio.so -e /home/sqlite-extensions/fuzzy.so -e /home/sqlite-extensions/ipaddr.so -e /home/sqlite-extensions/re.so -e /home/sqlite-extensions/spellfix.so -e /home/sqlite-extensions/stats.so -e /home/sqlite-extensions/text.so -e /home/sqlite-extensions/unicode.so -e /home/sqlite-extensions/uuid.so "
|
||||
stderr_logfile = /var/log/sqlite-web/sqlite-example-stderr.log
|
||||
stdout_logfile = /var/log/sqlite-web/sqlite-example-stdout.log
|
||||
logfile_maxbytes = 1024
|