Coming to you live.
Install a rust toolchain with rustup.rs:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo --version
rustc --versionClone the repo:
git clone https://github.com/foltik/lsd
cd lsdCreate a .env file with DATABASE_URL=sqlite://db.sqlite
Initialize dev database:
cargo install sqlx-cli --no-default-features --features sqlite
cargo sqlx database setupTo automatically recompile and rerun when you make changes, use cargo-watch:
cargo install cargo-watch
cargo watch -x 'run config/dev.toml'Run Tailwind CLI to compile styles via npm.
You can optionally install the [livereload][https://www.npmjs.com/package/livereload] extension to reload the page on style changes.
npm install
# Watch for changes to ./frontend/styles/main.css, start livereload server
npm run watch
# Build styles minified
npm run build:styles.minUse mailtutan for local testing of email functionality:
cargo install mailtutan
mailtutan- Make commits in a separate branch, and open a PR against
main - When new commits land in
main, a github action will automatically deploy the app to https://beta.lightandsound.design