Turn env sample file into env
cp .env.sample .env
Don't delete .env.sample because it will pollute the git commit history for next time
Make all scripts executable.
chmod 777 ./scripts/*
create user newsletter with password 'postgres';
alter user newsletter with superuser; -- add superuser role for sqlx-cli to work
create database newsletter; -- optional as `sqlx database create` will create the database if it doesn't exist
cargo binstall sqlx-cli # or `cargo install sqlx-cli` if you don't have `cargo-binstall` installed
sqlx database create
sqlx migrate run