This is a basis for a prelaunchr-like web app.
This project is accompanied by a condensed walkthrough I wrote on my blog, which is in turn based on the following series of posts:
Making a simple blog with Rust - Part I
Making a simple blog with Rust - Part II
git clone https://github.com/alexeyzab/voskhod
cd voskhod
cargo build
cargo install diesel_cli --no-default-features --features postgres
Create a .env
file with the following contents:
DATABASE_URL=postgres://username:password@localhost/voskhod
Then:
diesel setup
diesel migration run
cargo run --bin voskhod