Rust web framework, using Rocket, Diesel, and stdweb
- Make sure you have rust installed. Use rustup if you don't have rust installed.
- Install rust nightly
rustup install nightlyrustup default nightly - Install diesel for database access
cargo install diesel_cli - Install this crate
cargo install hangar - Create new web application
hangar new --name new_app --database sqlite --database-url db.sqlite - Inside the generated web application folder do initial migration
hangar db setuphangar db print-schema > src/schema.rs - Run the application
cargo run - In other terminal start assets packager
npm run start-jsnmp run start-css