Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tendant/dbwebview
Simple web ui for querying database. Built with Reagent, ClojureScript.
https://github.com/tendant/dbwebview
Last synced: about 1 month ago
JSON representation
Simple web ui for querying database. Built with Reagent, ClojureScript.
- Host: GitHub
- URL: https://github.com/tendant/dbwebview
- Owner: tendant
- Created: 2014-12-15T06:12:08.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-22T16:19:53.000Z (over 9 years ago)
- Last Synced: 2024-10-12T13:31:26.832Z (2 months ago)
- Language: Clojure
- Size: 164 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.org
Awesome Lists containing this project
README
* DbWebView
Simple web ui for querying database. Built with Reagent, ClojureScript.** Usage
*** Build
#+BEGIN_EXAMPLE
$ lein cljsbuild
$ lein uberjar
#+END_EXAMPLE*** Run
#+BEGIN_EXAMPLE
$ java -jar target/dbwebview-0.1.0-SNAPSHOT-standalone.jar
#+END_EXAMPLE
Before start server, update database connection information in
src/dbwebview/db.clj file or configure database parameters using
environment variables:#+BEGIN_EXAMPLE
CLASS_NAME: JDBC driver class name
SUB_PROTOCOL: JDBC driver sub protocol
DB_HOST: Database server
DB_PORT: Database port
DB_NAME: Database name
DB_USER: Database username
DB_PASSWORD: Database password
DB_OPTIONS: Database JDBC connection options#+END_EXAMPLE
** Development
*** Build
#+BEGIN_EXAMPLE
$ lein cljsbuild once
#+END_EXAMPLE*** Start server
#+BEGIN_EXAMPLE
$ lein ring server-headless
#+END_EXAMPLE*** Start figwheel
#+BEGIN_EXAMPLE
$ lein repl
user=> (start-figwheel)
#+END_EXAMPLE