6 releases
Uses old Rust 2015
0.1.6 | Jul 8, 2018 |
---|---|
0.1.5 | Jun 2, 2018 |
0.1.4 | May 28, 2018 |
#11 in #pre-compiled
4MB
37K
SLoC
Contains (WOFF font, 99KB) fontawesome-webfont.woff, (WOFF font, 91KB) fontawesome-webfont.woff, (WOFF font, 72KB) fontawesome-webfont.woff2, (WOFF font, 78KB) fontawesome-webfont.woff2, (WOFF font, 68KB) ionicons.woff, (WOFF font, 31KB) public/static/fonts/photon-entypo.woff
Diwata CLI
This repo is part of diwata project.
This contains a precompiled static html files which you can compile yourself refer to the main diwata project.
Quickstart
If you have an existing postgresql database, you can quickly open it using the app by:
cargo install diwata_cli
diwata_cli --db-url postgres://user:passwd@localhost:5432/dbname -p 8000 --open
You can also open sqlite database. Download this sqlite sample db You can then open it by issuing the command
diwata_cli --db-url sqlite://sakila.db -p 80001 --open
USAGE:
diwata_cli [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-a, --address <address> The address the server would listen, default is 0.0.0.0 [default: 0.0.0.0]
-u, --db-url <db_url> Database url to connect to, when set all data is exposed without login needed in the
client side
-p, --port <port> What port this server would listen to, default is 8000 [default: 8000]
Dependencies
~33MB
~548K SLoC