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 hace 5 años
migrations Use sha hashes instead of primary key hace 5 años
src Decode raw snippets to avoid > etc hace 5 años
static Add links to binaries to homepage hace 5 años
templates Add links to binaries to homepage hace 5 años
.gitignore Initial commit hace 5 años
.rsyncignore Add rsyncignore hace 5 años
Cargo.lock Use sha hashes instead of primary key hace 5 años
Cargo.toml Use separate stylesheet, clean up styles hace 5 años
LICENSE Add license and readme hace 5 años
Procfile Set in Procfile hace 5 años
README.md Add license and readme hace 5 años
RustConfig Update rust config hace 5 años
diesel.toml Initial commit hace 5 años
rust-toolchain Heroku config hace 5 años

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