Skip to content

Latest commit

 

History

History
 
 

realworld-postgres

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Real World SQLx

Usage

Declare the database URL.

export DATABASE_URL="postgres://postgres@localhost/realworld"

Create the database.

createdb -U postgres realworld

Load the database schema.

psql -d "$DATABASE_URL" -f ./schema.sql

Run.

cargo run