-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1 @@ | ||
# Coin | ||
|
||
## Running | ||
|
||
```bash | ||
# whole app | ||
cargo tauri dev | ||
|
||
# only tauri | ||
cargo run --bin coin-tauri | ||
|
||
# backend standalone | ||
cargo run --bin coin-cli | ||
|
||
# web ui (svelte) | ||
npm --prefix frontend/coin-web-ui run dev | ||
``` | ||
|
||
## Building | ||
|
||
The following command bundles the statically generated frontend (svelte), the | ||
tauri wrapper and the coin backend libraries: | ||
|
||
```bash | ||
cargo tauri build | ||
``` | ||
|
||
## Structure | ||
|
||
- `lib` contains the core libraries for coin. (TODO: support both local calls and remote (REST) backend) | ||
- `frontend` contains the different frontends `coin-tauri` and `coin-cli`. | ||
- [TODO] `backend` contains the code for the remote REST-based backend | ||
|
||
|