Add frontend tests and other stuff
This commit is contained in:
parent
d28e765e39
commit
642dd8a80c
26 changed files with 730 additions and 85 deletions
22
README.md
22
README.md
|
|
@ -1,6 +1,10 @@
|
|||
# Use cases
|
||||
|
||||
## Create a recipe
|
||||
|
||||
To create a recipe the user must have an account.
|
||||
|
||||
* The user
|
||||
(A group is automatically created)
|
||||
|
||||
## Create a groupe
|
||||
|
|
@ -21,21 +25,29 @@
|
|||
|
||||
The toolchain for Raspberry Pi 64 bits is available here: https://gnutoolchains.com/raspberry64/
|
||||
|
||||
|
||||
## How to install service on RPI Zero
|
||||
|
||||
1. Copy doc/recipes.service to /lib/systemd/system
|
||||
2. Enabled it: #> systemctl enable recipes
|
||||
|
||||
## Backend
|
||||
|
||||
Autoreload: https://actix.rs/docs/autoreload/
|
||||
|
||||
### Frontend
|
||||
|
||||
## WebAssembly
|
||||
|
||||
'frontend' project needs some tools to generate the WebAssembly stuff. Everything is explained here: https://rustwasm.github.io/wasm-bindgen/examples/hello-world.html
|
||||
|
||||
To compile run 'wasm-pack build' in 'frontend' directory
|
||||
To launch node run 'npm run start' in 'frontend/www' directory
|
||||
|
||||
## Useful URLs
|
||||
|
||||
* Rust patterns : https://github.com/rust-unofficial/patterns/tree/master/patterns
|
||||
* Rusqlite (SQLite) : https://docs.rs/rusqlite/0.20.0/rusqlite/
|
||||
|
||||
## How to develop
|
||||
|
||||
Autoreload: https://actix.rs/docs/autoreload/
|
||||
* Node install: https://nodejs.org/en/download/
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue