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 auto rebuild CSS and live-reload changes to your browser, use the watch npm script:
npm install
npm run watchTo auto recompile and restart the backend when you make changes, use cargo-watch:
cargo install cargo-watch
cargo watch -x 'run config/dev.toml' -w src -w frontend/templatesUse 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