# bngl.ws server This is the server component of the bngl.ws pastebin service. ## Running the server With [cargo](https://doc.rust-lang.org/cargo/getting-started/installation.html) and [diesel](https://crates.io/crates/diesel_cli) installed: ``` $ git clone https://git.sr.ht/~simulacrumparty/bnglws-server $ cd bnglws-server $ echo 'DATABASE_URL=postgres://username@host/dbname' > .env; $ diesel database setup $ cargo run ```