-
-
Save stephanbuys/0f9c3c824574cdd402f29ed34d7c388c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check out a copy of Diesel git clone https://github.com/diesel-rs/diesel.git | |
cd diesel/examples/postgres/getting_started_step_3/ | |
# Build the example (assuming your postgres instance is ready | |
# and running; see the docker hint above) | |
echo DATABASE_URL=postgres://username:password@localhost/diesel_demo > .env | |
diesel setup | |
cargo build | |
# Expand the code (assuming cargo-expand is installed) | |
cargo expand --lib > expanded.rs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment