Lore tracking and AI quest generation for Tabletop Role Play Games
- install Rust and Cargo
cargo build
- Install pre-commit,
pipxis suggested pre-commit installpre-commit run --all-files
- build and install it from here
- run
htmpl templates/pages static/html templates/base.html -wto watch for template changes and rerender during development
cargo should install sqlx on first build.
You can rebuild a dev db using sqlx database reset.
Add migrations using sqlx migrate add -s -r add-a-new-table
- Install Rust using Rustup
- Install SQLX CLI
cargo install sqlx-cli - init the database
sqlx database create - run
cargo run - run
htmpl templates/pages/ static/html/ templates/base.html - hack away
- isntall certbot
apt install certbot - get cert `certbot certonly --standalone -d groknag.com
- add certs to your env file (check cert paths with
certbot certificates)
- Install Rust using Rustup
- Install SQLX CLI
cargo install sqlx-cli - init the database
sqlx database create - migrate the database
sqlx migriate run - compile in your prod env
cargo build --release - install
htmpl(see above) - build static html templates
htmpl templates/pages static/html templates/base.html - install and set up certbot (see above)