elsirion / fm-faucet-leptos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

!!! still WIP !!!

FM Faucet Leptos

Port of faucet-rs

Install

just install

Run

just watch

(from leptos-start): Executing a Server on a Remote Machine Without the Toolchain

After running a cargo leptos build --release the minimum files needed are:

  1. The server binary located in target/server/release
  2. The site directory and all files within located in target/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.

About

License:MIT License


Languages

Language:Rust 93.2%Language:Just 4.4%Language:JavaScript 1.6%Language:CSS 0.8%