hangar

Crates.iohangar
lib.rshangar
version0.0.4
sourcesrc
created_at2018-03-08 14:15:19.471547
updated_at2018-03-18 14:19:08.903741
descriptionUnstable, use at your own risk. Rust web framework, using [Rocket](https://rocket.rs), [Diesel](https://diesel.rs), and [stdweb](https://github.com/koute/stdweb)
homepagehttps://hangar-project.org/
repositoryhttps://github.com/karuna/hangar/
max_upload_size
id54551
size114,146
Karuna Murti (karuna)

documentation

README

Hangar

https://hangar-project.org/

Rust web framework, using Rocket, Diesel, and stdweb

Installation

  • Make sure you have rust installed. Use rustup if you don't have rust installed.
  • Install rust nightly rustup install nightly rustup 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 setup hangar db print-schema > src/schema.rs
  • Run the application cargo run
  • In other terminal start assets packager npm run start-js nmp run start-css
Commit count: 17

cargo fmt