The backend of a gist server written in Rust
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dylan Baker 40f4b62c68 Add links to binaries to homepage 4 vuotta sitten
migrations Use sha hashes instead of primary key 4 vuotta sitten
src Decode raw snippets to avoid > etc 4 vuotta sitten
static Add links to binaries to homepage 4 vuotta sitten
templates Add links to binaries to homepage 4 vuotta sitten
.gitignore Initial commit 4 vuotta sitten
.rsyncignore Add rsyncignore 4 vuotta sitten
Cargo.lock Use sha hashes instead of primary key 4 vuotta sitten
Cargo.toml Use separate stylesheet, clean up styles 4 vuotta sitten
LICENSE Add license and readme 4 vuotta sitten
Procfile Set in Procfile 4 vuotta sitten
README.md Add license and readme 4 vuotta sitten
RustConfig Update rust config 4 vuotta sitten
diesel.toml Initial commit 4 vuotta sitten
rust-toolchain Heroku config 4 vuotta sitten

README.md

bngl.ws server

This is the server component of the bngl.ws pastebin service.

Running the server

With cargo and diesel 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