Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

snluu/lenote-mirror

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development flow:

Prerequisite:
- cargo install wasm-pack

1. Start the server:
cd lenote-server; fswatch src -vro | (while read; do clear; \
    date; \
    pkill lenote-server; \
    sleep 2; \
    (RUST_LOG="warn,lenote_server=info" cargo run -- --ui ../target/pkg/debug/ --pages ../pages --data ~/lenote-data &); \
    done)

2. On a different terminal, start file-watcher to compiler the UI on changes:
cd lenote-ui; fswatch src -vro | (while read; do clear; \
    date; \
    wasm-pack build --debug --no-typescript -d ../target/pkg/debug --out-name lenote_ui --target web; \
    done)

About

Mirror of the lenote repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published