!!! still WIP !!!
Port of faucet-rs
just install
just watch
After running a cargo leptos build --release
the minimum files needed are:
- The server binary located in
target/server/release
- The
site
directory and all files within located intarget/site
Copy these files to your remote server. The directory structure should be:
fm_faucet
site/
Set the following enviornment variables (updating for your project as needed):
LEPTOS_OUTPUT_NAME="fm_faucet"
LEPTOS_SITE_ROOT="site"
LEPTOS_SITE_PKG_DIR="pkg"
LEPTOS_SITE_ADDR="127.0.0.1:3000"
LEPTOS_RELOAD_PORT="3001"
Finally, run the server binary.